Troubleshooting PDL Transforms

KB Home   |   Troubleshooting PDL Transforms

Main.TroubleshootingPDLTransforms History

Hide minor edits - Show changes to output

March 27, 2019, at 05:04 AM by Mel Zouzoulas - Updated to mention the support web form
Changed line 58 from:
If you cannot tell why your transform did not work then email the @@.transform@@, @@.log@@, @@.before@@ and @@.after@@ files to us at support@papercut.com with a description of the problem.
to:
If you cannot tell why your transform did not work then submit a ticket with the @@.transform@@, @@.log@@, @@.before@@ and @@.after@@ files to us at (http://support.papercut.com) with a description of the problem.
May 25, 2017, at 10:47 PM by Alan Morris - change abpve to above
Changed line 46 from:
->If you see a log message @@TRANSFORM LOGGING: No transform selected@@ which has the same fields as @@TRANSFORM LOGGING: WORK TO DO?@@  then do the same as for @@has_work=0@@ abpve.
to:
->If you see a log message @@TRANSFORM LOGGING: No transform selected@@ which has the same fields as @@TRANSFORM LOGGING: WORK TO DO?@@  then do the same as for @@has_work=0@@ above.
Changed lines 58-61 from:
If you cannot tell why you transform does not work then email the @@.transform@@, @@.log@@, @@.before@@ and @@.after@@ files to us at support@papercut.com with a description of the problem.


to:
If you cannot tell why your transform did not work then email the @@.transform@@, @@.log@@, @@.before@@ and @@.after@@ files to us at support@papercut.com with a description of the problem.


Changed lines 58-61 from:
->If you cannot tell why you transform does not work then send the @@.transform@@, @@.log@@, @@.before@@ and @@.after@@ files to support with a description of what did not work.


to:
If you cannot tell why you transform does not work then email the @@.transform@@, @@.log@@, @@.before@@ and @@.after@@ files to us at support@papercut.com with a description of the problem.


Changed lines 1-2 from:
PDL transforms is an advanced feature, so please read [[https://www.papercut.com/products/ng/manual/apdx-pdl-transform-lang.html|this]] section in the manual to understand how transforms work and how to write one.
to:
PDL transforms is an advanced feature, so please read [[https://www.papercut.com/products/ng/manual/apdx-pdl-transform-lang.html|this]] section in the manual to understand how transforms work and how to write a transform.
Deleted line 0:
Changed lines 3-4 from:
To troubleshoot any PDL transform problems please follow the steps listed below:
to:
To troubleshoot any PDL transform problem, please follow the steps listed below:
Changed lines 1-9 from:
'''1.'''
Firstly, please check
[[https://www.papercut.com/products/ng/manual/apdx-pdl-transform-lang.html|this]] section in the manual to understand how transforms work and how to write one.

'''2.''' Open the file [@[app-path]/providers/print/[platform]/print-provider.conf@] in a text editor.

'''3.''' Set [@debug=on@] and [@EnableTransformTestMode=on@] in @@print-provider.conf@@ file.

'''4.''' Restart the Print Provider.
to:

PDL transforms is an advanced feature, so please read [[https://www.papercut.com/products/ng/manual/apdx-pdl-transform-lang.html|this]] section in the manual to understand how transforms work and how to write one.

To troubleshoot any PDL transform problems please follow the steps listed below:

'''1.''' Open the file [@[app-path]/providers/print/[platform]/print-provider.conf@] in a text editor.

'''2.''' Set [@debug=on@] and [@EnableTransformTestMode=on@] in @@print-provider.conf@@ file.

'''3
.''' Restart the Print Provider.
Changed lines 23-24 from:
->We added support for Transforms in PaperCut version 14.3. See the release history [[https://www.papercut.com/release-history/|here]].
to:
->We added support for [[https://www.papercut.com/products/ng/manual/apdx-pdl-transform-lang.html| PDL Transforms]] in PaperCut version 14.3. See the release history [[https://www.papercut.com/release-history/|here]].
Changed lines 27-29 from:
->Another way to find out whether it is supported in your version of PaperCut or not is by searching @@print-provider.log@@ for "@@xvp@@" (case insensitive match, no quotes). If you cannot find this then your version of the print provider either does not support PDL transforms.

to:
->Another way of finding out whether it is supported in your version of PaperCut or not is by searching @@print-provider.log@@ for "@@xvp@@" (case insensitive match, no quotes). If you cannot find this then your version of the print provider either does not support PDL transforms.

Changed lines 23-24 from:
->We added support for Transforms in version PaperCut version 14.3. See the release history [[https://www.papercut.com/release-history/|here]].
to:
->We added support for Transforms in PaperCut version 14.3. See the release history [[https://www.papercut.com/release-history/|here]].
Changed lines 27-29 from:
Another way to find out whether it is supported in your version of PaperCut or not is by searching @@print-provider.log@@ for "@@xvp@@" (case insensitive match, no quotes). If you cannot find this then your version of the print provider either does not support PDL transforms.

to:
->Another way to find out whether it is supported in your version of PaperCut or not is by searching @@print-provider.log@@ for "@@xvp@@" (case insensitive match, no quotes). If you cannot find this then your version of the print provider either does not support PDL transforms.

Changed lines 23-24 from:
->Search @@print-provider.log@@ for "@@xvp@@" (case insensitive match, no quotes). If you cannot find this then your version of the print provider either does not support PDL transforms or does not have PDL transforms enabled.
to:
->We added support for Transforms in version PaperCut version 14.3. See the release history [[https://www.papercut.com/release-history/|here]].
Added lines 27-29:
Another way to find out whether it is supported in your version of PaperCut or not is by searching @@print-provider.log@@ for "@@xvp@@" (case insensitive match, no quotes). If you cannot find this then your version of the print provider either does not support PDL transforms.

Changed lines 25-28 from:
->To check your version of the print provider, search backwards from the end of print-provider.log for "Environment version:" (no quotes). You will see the print-provider version close by. If the print-provider version is less than 14.3 then you will need to upgrade to 14.3 or later.

->If the Print Provider's version is 14.3 or later and the Environment version is less than 11 then you will need to update your env-version file to 11
.
to:
->To check your version of the print provider, search backwards from the end of @@print-provider.log@@ for "Starting print provider service. Version:" (no quotes). If the print-provider version is less than 14.3 then you will need to upgrade to 14.3 or later.
Changed lines 4-5 from:
'''2.'''Open the file [@[app-path]/providers/print/[platform]/print-provider.conf@] in a text editor.
to:
'''2.''' Open the file [@[app-path]/providers/print/[platform]/print-provider.conf@] in a text editor.
Changed lines 2-3 from:
Please check [[https://www.papercut.com/products/ng/manual/apdx-pdl-transform-lang.html|this]] in the manual to understand how transforms work and how to write one.
to:
Firstly, please check [[https://www.papercut.com/products/ng/manual/apdx-pdl-transform-lang.html|this]] section in the manual to understand how transforms work and how to write one.
Changed lines 14-18 from:
These 3 files will have names based on the spool file name.

For example: On Windows @@C:\Windows\system32\spool\PRINTERS\00259.SPL@@ would have 3 corresponding files @@259.log@@, @@259.before@@ and @@259.after@@.

to:
These 3 files will have names based on the spool file name. For example: On Windows @@C:\Windows\system32\spool\PRINTERS\00259.SPL@@ would have 3 corresponding files @@259.log@@, @@259.before@@ and @@259.after@@.

Changed lines 4-5 from:
'''2.'''Open the file[@[app-path]/providers/print/[platform]/print-provider.conf@] in a text editor.
to:
'''2.'''Open the file [@[app-path]/providers/print/[platform]/print-provider.conf@] in a text editor.
Changed lines 4-8 from:
'''2.'''
Open the file:
->
[@[app-path]/providers/print/[platform]/print-provider.conf@]
->in a text editor.
to:
'''2.'''Open the file[@[app-path]/providers/print/[platform]/print-provider.conf@] in a text editor.
Changed lines 13-14 from:
''This will create a .log file and .before and .after spool files each time a spool file is transformed by redirection in @@[app-path]/providers/print/[platform]/transforms/logs@@.
to:
Once the transform test mode is enabled, a .log file and .before and .after spool files are created each time a spool file is transformed by redirection. They are created under @@[app-path]/providers/print/[platform]/transforms/logs@@.
Changed lines 9-11 from:
'''3.''' Set [@debug=on@] and [@EnableTransformTestMode=on@] in
@@[app-path]/providers/print/[platform]/print-provider.conf@@.
to:
'''3.''' Set [@debug=on@] and [@EnableTransformTestMode=on@] in @@print-provider.conf@@ file.
Changed lines 5-7 from:
Set [@debug=on@] and [@EnableTransformTestMode=on@] in
@@[app-path]/providers/print/[platform]/print-provider.conf@@. This will create a .log file and .before and .after spool files each time a spool file is transformed by redirection in @@[app-path]/providers/print/[platform]/transforms/logs@@. Then restart the print provider.
to:
Open the file:
->
[@[app-path]/providers/print/[platform]/print-provider.conf@]
->in a text editor.

'''3
.''' Set [@debug=on@] and [@EnableTransformTestMode=on@] in
@@[app-path]/providers/print/[platform]/print-provider
.conf@@.

'''4
.''' Restart the Print Provider.

''This will create a .log file and .before and .after spool files each time a spool file is transformed by redirection in @@[app-path]/providers/print/[platform]/transforms/logs@@.

Changed lines 2-3 from:
Please check [[https://www.papercut.com/products/ng/manual/apdx-pdl-transform-lang.html|this]] in the manual to check the contents of your transform and it's location in the file system. 
to:
Please check [[https://www.papercut.com/products/ng/manual/apdx-pdl-transform-lang.html|this]] in the manual to understand how transforms work and how to write one.
Changed lines 2-3 from:
Read [[https://www.papercut.com/products/ng/manual/apdx-pdl-transform-lang.html|Appendix E. PDL Transform Language]] in the manual to check the contents of your transform and its location in the file system.
to:
Please check [[https://www.papercut.com/products/ng/manual/apdx-pdl-transform-lang.html|this]] in the manual to check the contents of your transform and it's location in the file system.
Changed lines 38-39 from:
->If @@has_work=0@@ then there was no transform file under the @@transforms/system@@ or @@transforms/custom@@ directories that matched the language, printer_name / printer_type and target_printer_name / target_printer_type. 
to:
->If @@has_work=0@@ then there was no transform file under the @@transforms/system@@ or @@transforms/custom@@ directories that matched the printer language / printer type and target printer name / target printer type.
Changed lines 36-37 from:
There will be a message like @@TRANSFORM LOGGING: WORK TO DO? language='PostScript',printer_name='sharedprinter',printer_type='PaperCut Global PostScript',target_printer_name='HP Color LaserJet',target_printer_type='HP Color LaserJet PS',has_work=1@@
to:
->There will be a message like @@TRANSFORM LOGGING: WORK TO DO? language='PostScript',printer_name='sharedprinter',printer_type='PaperCut Global PostScript',target_printer_name='HP Color LaserJet',target_printer_type='HP Color LaserJet PS',has_work=1@@
Changed lines 46-47 from:
Find the @@.log@@, @@.before@@ and @@.after@@ file for the print job.
to:
->Find the @@.log@@, @@.before@@ and @@.after@@ file for the print job.
Added line 18:
Changed lines 18-19 from:
->!!!Check that transforms are supported.
to:
!!!Check that transforms are supported.
Changed lines 18-19 from:
!!!Check that transforms are supported.
to:
->!!!Check that transforms are supported.
Changed lines 43-44 from:
!!Redirected print job is no printing or is printing incorrectly.
to:
!!Redirected print job is not printing or is printing incorrectly.
Changed lines 28-30 from:
Search @@print-provider.log@@ for "@@TRANSFORM LOGGING IS ENABLED@@" (no quotes). There should be one of these messages for every print job when @@[=EnableTransformTestMode=on=]@@ in @@print-provider.conf@@.

If you cannot find one of these messages for your print job then check @@print-provider.conf@@ to verify that is has  [@debug=on@] and [@EnableTransformTestMode=on@] and restart the print provider again.
to:
->Search @@print-provider.log@@ for "@@TRANSFORM LOGGING IS ENABLED@@" (no quotes). There should be one of these messages for every print job when @@[=EnableTransformTestMode=on=]@@ in @@print-provider.conf@@.

->If you cannot find one of these messages for your print job then check @@print-provider.conf@@ to verify that is has  [@debug=on@] and [@EnableTransformTestMode=on@] and restart the print provider again.
Changed line 34 from:
Search backward from end of print-provider.log for @@TRANSFORM LOGGING: WORK TO DO?@@
to:
->Search backward from end of print-provider.log for @@TRANSFORM LOGGING: WORK TO DO?@@
Changed lines 37-42 from:
If @@has_work=0@@ then there was no transform file under the @@transforms/system@@ or @@transforms/custom@@ directories that matched the language, printer_name / printer_type and target_printer_name / target_printer_type. 

Check Appendix E. PDL Transform Language "Matching rules for running a transform script" to see why your transform is not being selected. If you cannot see why then please contract support.

If you see a log message @@TRANSFORM LOGGING: No transform selected@@ which has the same fields as @@TRANSFORM LOGGING: WORK TO DO?@@  then do the same as for @@has_work=0@@ abpve.
to:
->If @@has_work=0@@ then there was no transform file under the @@transforms/system@@ or @@transforms/custom@@ directories that matched the language, printer_name / printer_type and target_printer_name / target_printer_type. 

->Check Appendix E. PDL Transform Language "Matching rules for running a transform script" to see why your transform is not being selected. If you cannot see why then please contract support.

->If you see a log message @@TRANSFORM LOGGING: No transform selected@@ which has the same fields as @@TRANSFORM LOGGING: WORK TO DO?@@  then do the same as for @@has_work=0@@ abpve.
Changed lines 46-55 from:
If the @@.log@@ file reports an error then try to fix it in your @@.transform@@ file or contact support if you cannot. Try printing again after you have made your corrections.

If no errors are reported in the @@.log@@ file then you are probably transforming the file in the wrong way. Compare the  @@.before@@ and @@.after@@ files and try to identify the problem.

It is usually helpful to print directly to the printer being redirected to, save the spool file and compare it to the @@.after@@ file. Transforms attempt to emulate direct printing so these files should match for printer language syntax and for the options being selected.

If you cannot tell why you transform does not work then send the @@.transform@@, @@.log@@, @@.before@@ and @@.after@@ files to support with a description of what did not work.


to:
->If the @@.log@@ file reports an error then try to fix it in your @@.transform@@ file or contact support if you cannot. Try printing again after you have made your corrections.

->If no errors are reported in the @@.log@@ file then you are probably transforming the file in the wrong way. Compare the  @@.before@@ and @@.after@@ files and try to identify the problem.

->It is usually helpful to print directly to the printer being redirected to, save the spool file and compare it to the @@.after@@ file. Transforms attempt to emulate direct printing so these files should match for printer language syntax and for the options being selected.

->If you cannot tell why you transform does not work then send the @@.transform@@, @@.log@@, @@.before@@ and @@.after@@ files to support with a description of what did not work.


Changed lines 18-25 from:
!!!Check that transforms are enabled.

Search @@print-provider.log@@ for "@@xvp@@" (case insensitive match, no quotes). If you cannot find this then your version of the print provider either does not support PDL transforms or does not have PDL transforms enabled.

To check your version of the print provider, search backwards from the end of print-provider.log for "Environment version:" (no quotes). You will see the print-provider version close by. If the print-provider version is less than 14.3 then you will need to upgrade to 14.3 or later.

If print-provider version is 14.3 or later and the Environment version is less than 11 then you will need to update your env-version file to 11.
to:
!!!Check that transforms are supported.

->Search @@print-provider.log@@ for "@@xvp@@" (case insensitive match, no quotes). If you cannot find this then your version of the print provider either does not support PDL transforms or does not have PDL transforms enabled.

->To check your version of the print provider, search backwards from the end of print-provider.log for "Environment version:" (no quotes). You will see the print-provider version close by. If the print-provider version is less than 14.3 then you will need to upgrade to 14.3 or later.

->If the Print Provider's version is 14.3 or later and the Environment version is less than 11 then you will need to update your env-version file to 11.
Changed lines 10-12 from:
These 3 files will have names based on the spool file name. e.g. On Windows @@C:\Windows\system32\spool\PRINTERS\00259.SPL@@ would have 3 corresponding files @@259.log@@, @@259.before@@ and @@259.after@@.

to:
These 3 files will have names based on the spool file name.

For example:
On Windows @@C:\Windows\system32\spool\PRINTERS\00259.SPL@@ would have 3 corresponding files @@259.log@@, @@259.before@@ and @@259.after@@.

Changed lines 8-9 from:
'''Note:''' ''This a heavy option so remember to turn it off when you are done.''
to:
'''Note:''' ''This is an advanced option so remember to turn it off when you are done.''
Changed lines 8-9 from:
'''Note:''' This a heavy option so remember to turn it off when you are done.
to:
'''Note:''' ''This a heavy option so remember to turn it off when you are done.''
Changed lines 6-7 from:
@@[app-path]/providers/print/[platform]/print-provider.conf@@. This will create a log file and before and after spool files each time a spool file is transformed by redirection in @@[app-path]/providers/print/[platform]/transforms/logs@@. Then restart the print provider. '''Note:''' This a heavy option so remember to turn it off when you are done.
to:
@@[app-path]/providers/print/[platform]/print-provider.conf@@. This will create a .log file and .before and .after spool files each time a spool file is transformed by redirection in @@[app-path]/providers/print/[platform]/transforms/logs@@. Then restart the print provider.

'''Note:''' This a heavy option so remember to turn it off when you are done.
Changed lines 24-26 from:
Search @@print-provider.log@@ for "@@TRANSFORM LOGGING IS ENABLED@@" (no quotes). There should be one of these messages for every print job when @@[=EnableTransformTestMode=on=]@@ in @@print-provider.conf@@. If you cannot find one of these messages for your print job then check @@print-provider.conf@@ to verify that is has  [@debug=on@] and [@EnableTransformTestMode=on@] and restart the print provider again.
to:
Search @@print-provider.log@@ for "@@TRANSFORM LOGGING IS ENABLED@@" (no quotes). There should be one of these messages for every print job when @@[=EnableTransformTestMode=on=]@@ in @@print-provider.conf@@.

If you cannot find one of these messages for your print job then check @@print-provider.conf@@ to verify that is has  [@debug=on@] and [@EnableTransformTestMode=on@] and restart the print provider again.
November 06, 2014, at 10:37 PM by peter - make more readable
Changed lines 6-7 from:
@@[app-path]/providers/print/[platform]/print-provider.conf@@. This will cause a log file and before and after spool files to be created each time a spool file is transformed in redirection in @@[app-path]/providers/print/[platform]/transforms/logs@@. Then restart the print provider. '''Note:''' This a heavy option so remember to turn it off when you are done.
to:
@@[app-path]/providers/print/[platform]/print-provider.conf@@. This will create a log file and before and after spool files each time a spool file is transformed by redirection in @@[app-path]/providers/print/[platform]/transforms/logs@@. Then restart the print provider. '''Note:''' This a heavy option so remember to turn it off when you are done.
Changed line 24 from:
Search @@print-provider.log@@ for "@@TRANSFORM LOGGING IS ENABLED@@" (no quotes). There should be one of these messages for every print job when @@[=EnableTransformTestMode=on=]@@ in @@print-provider.conf@@. If you cannot find one of these messages for your print job then check @@print-provider.conf@@ and restart the print provider again.
to:
Search @@print-provider.log@@ for "@@TRANSFORM LOGGING IS ENABLED@@" (no quotes). There should be one of these messages for every print job when @@[=EnableTransformTestMode=on=]@@ in @@print-provider.conf@@. If you cannot find one of these messages for your print job then check @@print-provider.conf@@ to verify that is has  [@debug=on@] and [@EnableTransformTestMode=on@] and restart the print provider again.
Deleted lines 0-1:
!![DRAFT]
Changed lines 2-3 from:
Read Appendix E. PDL Transform Language in the manual to check the contents of your transform and its location in the file system.
to:
Read [[https://www.papercut.com/products/ng/manual/apdx-pdl-transform-lang.html|Appendix E. PDL Transform Language]] in the manual to check the contents of your transform and its location in the file system.
Added lines 1-2:
!![DRAFT]
Changed line 24 from:
Search @@print-provider.log@@ for "@@TRANSFORM LOGGING IS ENABLED@@" (no quotes). There should be one of these messages for every print job when [=EnableTransformTestMode=on=] in @@print-provider.conf@@. If you cannot find one of these messages for your print job then check @@print-provider.conf@@ and restart the print provider again.
to:
Search @@print-provider.log@@ for "@@TRANSFORM LOGGING IS ENABLED@@" (no quotes). There should be one of these messages for every print job when @@[=EnableTransformTestMode=on=]@@ in @@print-provider.conf@@. If you cannot find one of these messages for your print job then check @@print-provider.conf@@ and restart the print provider again.
Changed lines 29-35 from:
There will be a message like @@TRANSFORM LOGGING: WORK TO DO? language='PostScript',
printer_name='SharedPrinter',printer_type='PaperCut Global PostScript',
target_printer_name='HP Color LaserJet',target_printer_type='HP Color LaserJet PS',has_work=1@@

If @@has_work=0@@ then there was no transform file under the @@[app-path]/providers/print/[platform]/transforms/system@@ or  @@[app-path]/providers/print/[platform]/transforms/custom@@ directories that matched the language,
printer_name / printer_type and target_printer_name / target_printer_type 
to:
There will be a message like @@TRANSFORM LOGGING: WORK TO DO? language='PostScript',printer_name='sharedprinter',printer_type='PaperCut Global PostScript',target_printer_name='HP Color LaserJet',target_printer_type='HP Color LaserJet PS',has_work=1@@

If @@has_work=0@@ then there was no transform file under the @@transforms/system@@ or @@transforms/custom@@ directories that matched the language, printer_name / printer_type and target_printer_name / target_printer_type. 
Changed lines 46-49 from:
If you cannot tell why you transform does not work then send the @@.transfrom@@, @@.log@@, @@.before@@ and @@.after@@ files to support with a description of what did not work.


to:
If you cannot tell why you transform does not work then send the @@.transform@@, @@.log@@, @@.before@@ and @@.after@@ files to support with a description of what did not work.


Changed line 24 from:
Search @@print-provider.log@@ for "@@TRANSFORM LOGGING IS ENABLED@@" (no quotes). There should be one of these messages for every print job when @@EnableTransformTestMode=on@@ in @@print-provider.conf@@. If you cannot find one of these messages for your print job then check @@print-provider.conf@@ and restart the print provider again.
to:
Search @@print-provider.log@@ for "@@TRANSFORM LOGGING IS ENABLED@@" (no quotes). There should be one of these messages for every print job when [=EnableTransformTestMode=on=] in @@print-provider.conf@@. If you cannot find one of these messages for your print job then check @@print-provider.conf@@ and restart the print provider again.
Changed lines 43-47 from:
If the @@.log@@ file reports an error then try to fix it or contact support if you cannot.

!!!Check that transforms are enabled
.

to:
If the @@.log@@ file reports an error then try to fix it in your @@.transform@@ file or contact support if you cannot. Try printing again after you have made your corrections.

If no errors are reported in the @@.log@@ file then you are probably transforming the file in the wrong way. Compare the  @@.before@@ and @@.after@@ files and try to identify the problem.

It is usually helpful to print directly to the printer being redirected to, save the spool file and compare it to the @@.after@@ file. Transforms attempt to emulate direct printing so these files should match for printer language syntax and for the options being selected.

If you cannot tell why you transform does not work then send the @@.transfrom@@, @@.log@@, @@.before@@ and @@.after@@ files to support with a description of what did not work.



Changed line 13 from:
!!No @@.log@@, @@.before@@ and @@.after@@ files.
to:
!!No @@.log@@, @@.before@@ or @@.after@@ files.
Changed lines 40-47 from:
to:
!!Redirected print job is no printing or is printing incorrectly.
Find the @@.log@@, @@.before@@ and @@.after@@ file for the print job.

If the @@.log@@ file reports an error then try to fix it or contact support if you cannot.

!!!Check that transforms are enabled.

Changed lines 36-37 from:
2014-10-02 17:34:05,322 INFO : TRANSFORM LOGGING: No transform selected for language='PostScript',printer_name='PaaaperCut Global PostScript',printer_type='PaperCut Global PostScript',target_printer_name='HP Color LaserJet CM4540 MFP PCL 6',target_printer_type='HP Color LaserJet CM4540 MFP PCL 6'
to:
Check Appendix E. PDL Transform Language "Matching rules for running a transform script" to see why your transform is not being selected. If you cannot see why then please contract support.

If you see a log message @@TRANSFORM LOGGING: No transform selected@@ which has the same fields as @@TRANSFORM LOGGING: WORK TO DO?@@  then do the same as for @@has_work=0@@ abpve.


Changed lines 28-37 from:
to:
Search backward from end of print-provider.log for @@TRANSFORM LOGGING: WORK TO DO?@@
There will be a message like @@TRANSFORM LOGGING: WORK TO DO? language='PostScript',
printer_name='SharedPrinter',printer_type='PaperCut Global PostScript',
target_printer_name='HP Color LaserJet',target_printer_type='HP Color LaserJet PS',has_work=1@@

If @@has_work=0@@ then there was no transform file under the @@[app-path]/providers/print/[platform]/transforms/system@@ or  @@[app-path]/providers/print/[platform]/transforms/custom@@ directories that matched the language,
printer_name / printer_type and target_printer_name / target_printer_type 

2014-10-02 17:34:05,322 INFO : TRANSFORM LOGGING: No transform selected for language='PostScript',printer_name='PaaaperCut Global PostScript',printer_type='PaperCut Global PostScript',target_printer_name='HP Color LaserJet CM4540 MFP PCL 6',target_printer_type='HP Color LaserJet CM4540 MFP PCL 6'

Changed lines 26-30 from:

 
There  that PaperCut is not
finding and applying your transform

to:
!!!Check that PaperCut is finding and applying your transform

Changed lines 14-17 from:
Check that transforms are enabled.

Search print-provider log for "xvp" (case insensitive match, no quotes). If you cannot find this then your version of the print provider either does not support PDL transforms or does not have PDL transforms enabled.
to:
!!!Check that transforms are enabled.

Search @@print-provider.log@@ for "@@xvp@@" (case insensitive match, no quotes). If you cannot find this then your version of the print provider either does not support PDL transforms or does not have PDL transforms enabled.
Changed lines 20-21 from:
If  print-provider version is 14.3 or later and the Environment version is less than 11 then you will need to update your env-version file to 11.
to:
If print-provider version is 14.3 or later and the Environment version is less than 11 then you will need to update your env-version file to 11.

!!!Check that transform test mode is enabled

Search @@print-provider.log@@ for "@@TRANSFORM LOGGING IS ENABLED@@" (no quotes). There should be one of these messages for every print job when @@EnableTransformTestMode=on@@ in @@print-provider.conf@@. If you cannot find one of these messages for your print job then check @@print-provider.conf@@ and restart the print provider again.
Added lines 26-27:

 
Changed lines 6-7 from:
@@[app-path]/providers/print/[platform]/print-provider.conf@@. This will cause a log file and before and after spool files to be created each time a spool file is transformed in redirection in @@[app-path]/providers/print/[platform]/transforms/logs@@. '''Note:''' This a heavy option so remember to turn it off when you are done.
to:
@@[app-path]/providers/print/[platform]/print-provider.conf@@. This will cause a log file and before and after spool files to be created each time a spool file is transformed in redirection in @@[app-path]/providers/print/[platform]/transforms/logs@@. Then restart the print provider. '''Note:''' This a heavy option so remember to turn it off when you are done.
Changed lines 14-16 from:
This means that PaperCut is not finding and applying your transform.

to:
Check that transforms are enabled.

Search print-provider log for "xvp" (case insensitive match, no quotes)
. If you cannot find this then your version of the print provider either does not support PDL transforms or does not have PDL transforms enabled.

To check your version of the print provider, search backwards from the end of print-provider.log for "Environment version:" (no quotes). You will see the print-provider version close by. If the print-provider version is less than 14.3 then you will need to upgrade to 14.3 or later.

If  print-provider version is 14.3 or later and the Environment version is less than 11 then you will need to update your env-version file to 11.

 
There  that PaperCut is not finding and applying your transform


Changed lines 6-9 from:
@@[app-path]/providers/print/[platform]/print-provider.conf@@. This will cause a log file and before and after spool files to be created each time a spool file is transformed in redirection in @@[app-path]/providers/print/[platform]/transforms/logs@@. '''Note:'''This a heavy option so remember to turn it off when you are done.

These 3 files will have names based on the spool file name. e.g. On Windows [@C:\Windows\system32\spool\PRINTERS\00259.SPL@] would result in [@259.log@], [@259.before@] and [@259.after@].
to:
@@[app-path]/providers/print/[platform]/print-provider.conf@@. This will cause a log file and before and after spool files to be created each time a spool file is transformed in redirection in @@[app-path]/providers/print/[platform]/transforms/logs@@. '''Note:''' This a heavy option so remember to turn it off when you are done.

These 3 files will have names based on the spool file name. e.g. On Windows @@C:\Windows\system32\spool\PRINTERS\00259.SPL@@ would have 3 corresponding files @@259.log@@, @@259.before@@ and @@259.after@@.


!Common Problems

!!No @@.log@@, @@.before@@ and @@.after@@ files.
This means that PaperCut is not finding and applying your transform.


Deleted lines 4-5:
Next turn on some logging.
Changed lines 6-10 from:
@@[app-path]/providers/print/[platform]/print-provider.conf@@

This will cause a log file and before and after spool files to be created each time a spool file is transformed in redirection in @@[app-path]/providers/print/[platform]/transforms/logs@@. '''Note:'''This a heavy option so remember to turn it off when you are done.

to:
@@[app-path]/providers/print/[platform]/print-provider.conf@@. This will cause a log file and before and after spool files to be created each time a spool file is transformed in redirection in @@[app-path]/providers/print/[platform]/transforms/logs@@. '''Note:'''This a heavy option so remember to turn it off when you are done.

These 3 files will have names based on the spool file name. e.g. On Windows [@C:\Windows\system32\spool\PRINTERS\00259.SPL@] would result in [@259.log@], [@259.before@] and [@259.after@].

Changed lines 1-2 from:
First read Appendix E. PDL Transform Language in the manual to check the contents of your transform and its location in the file system.
to:
'''1.'''
Read Appendix E. PDL Transform Language in the manual to check the contents of your transform and its location in the file
system.

'''2.'''
Changed lines 1-11 from:

->'''Note:''' Sometimes you may need to set [@debug=snapshot@]
in [@~papercut/providers/print/linux-[arch]/print-provider.conf@] to capture a spool file on Mac or Linux. See [[CapturingALinuxSpoolFile|+]] and [[MacSpoolFile|+]]. In such cases you should either
* run [@debug-snapshot-enable@] instead of [@debug-enable@] if you are running PaperCut version 13.4 or later, or
* use the Legacy method below if you are running PaperCut version 13.3 or earlier.

TODO page content here.

!!Subheading

TODO link your page here
: https://www.papercut.com/kb/Main/Miscellaneous
to:
First read Appendix E. PDL Transform Language in the manual to check the contents of your transform and its location in the file system.

Next turn on some logging.

Set
[@debug=on@] and [@EnableTransformTestMode=on@] in
@@[app-path]/providers/print/[platform]/print-provider.conf@@

This will cause a log file and before and after spool files to be created each time a spool file is transformed in redirection in @@[app-path]/providers/print/[platform]/transforms/logs@@. '''Note
:'''This a heavy option so remember to turn it off when you are done. 

Added lines 1-15:

->'''Note:''' Sometimes you may need to set [@debug=snapshot@] in [@~papercut/providers/print/linux-[arch]/print-provider.conf@] to capture a spool file on Mac or Linux. See [[CapturingALinuxSpoolFile|+]] and [[MacSpoolFile|+]]. In such cases you should either
* run [@debug-snapshot-enable@] instead of [@debug-enable@] if you are running PaperCut version 13.4 or later, or
* use the Legacy method below if you are running PaperCut version 13.3 or earlier.

TODO page content here.

!!Subheading

TODO link your page here: https://www.papercut.com/kb/Main/Miscellaneous

----
''Categories:'' [[Category.Debugging|+]], [[Category.Troubleshooting|+]]

keywords: global print driver

Comments

Share your findings and experience with other PaperCut users. Feel free to add comments and suggestions about this Knowledge Base article. Please don't use this for support requests.

Article last modified on March 27, 2019, at 05:04 AM
Printable View   |   Article History   |   Edit Article