I am using GNU GhostScript for PostScript to PCL6 conversion in Ubuntu OS.
The command is as follows:
Test Command 1:...
gs -o testoutpot.pxl -sDEVICE=pxlcolor test.ps
The testoutpot.pxl file always contains 2 PJL data.
@PJL SET RESOLUTION=600
@PJL ENTER LANGUAGE = PCLXL
Why always 2 PJL settings are irrespective of number of settings like (PAPERSIZE, PDFPassword , FirstPage ..etc)
Please help me how to get corresponding PJL data in the output pxl file.
Also how can i give printer custom parameters to the Ghostscript as command line args.
Thank you so much for understanding my problem.
I am using GNU GhostScript for PostScript to PCL6 conversion in Ubuntu OS.
The command is as follows:
Test Command 1:
gs -o testoutpot.pxl -sDEVICE=pxlcolor test.ps
The testoutpot.pxl file always contains 2 PJL data.
@PJL SET RESOLUTION=600
@PJL ENTER LANGUAGE = PCLXL
Test Command 2:
gs -sPAPERSIZE=a4 -o tst9.pxl -sDEVICE=pxlcolor prealse.ps
The tst9.pxl file always contains 2 PJL data.
@PJL SET RESOLUTION=600
@PJL ENTER LANGUAGE = PCLXL
Why always 2 PJL settings are irrespective of number of settings like (PAPERSIZE, PDFPassword , FirstPage ..etc)
Please help me how to get corresponding PJL data in the output pxl file.
Also how can i give printer custom parameters to the Ghostscript as command line args.
Thank you so much for understanding my problem.
Pages have attributes that define and effect the real page received or viewed by
a person. For example, the size, type, source, and destination for the physical
page media are attributes that may be associated with a page.
Beginning a simple page.
ubyte ePortraitOrientation Orientation
ubyte eLetterPaper MediaSize
BeginPage
Beginning a page printing on Executive sized paper with duplexing enabled.
ubyte ePortraitOrientation Orientation
ubyte eExecPaper MediaSize
ubyte eDuplexVerticalBinding DuplexPageMode
BeginPage
According to the 2.0 spec, section 1.5 Pages:
Dear droog,
Thank you so much for your response.
i have read below 2.0 spec and anble to understand.
According to the 2.0 spec, section 1.5 Pages:
i am not sure how to set the
gs -o outputpcl.pcl -sDEVICE=pxlcolor -sCSTOMPrameter=value test.ps
The outputpcl.pcl file always contains 2 PJL data.
@PJL SET RESOLUTION=600
@PJL ENTER LANGUAGE = PCLXL
The "CSTOMPrameter" is not showing in as PJL data.
Dear droog,
Thank you so much for your quick response and help.
Sorry for confusing with "CSTOMPrameter". It is typo.
I mean to say Printer's "Custom Parameter".
I will brief my overall Problem statement:
We will print the job from printer (print job data can be text/raster)
I need help in doing the below flow.
text/raster data from printer --> convert the print data to PostScript --> PostScript to PCL6 conversion (PS to pcl6 using GNU GhostScript) --> Printer.
I did not get any good links/info/material to do the above task.
It will be great if i can get any good links/info/material.
Dear droog,
Thank you so much for the Reply.
Need to Print from PC --> Printer through PCL6/PCLXL driver.
i.e.
text/raster data from PC --> convert the print data to PostScript --> PostScript to PCL6 conversion (PS to pcl6 using GNU GhostScript) --> Printer.
I will be using GNU GhostScript (Command prompt) from shell script for PS to PCL6/PCLXL conversion.
custom parameters like number of Duplex settings,Input Paper and Output paper info, Job info...etc.
I am not able to understand overall flow and how to do.
Please help me in this regard.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 40:26:59 |
Calls: | 6,648 |
Files: | 12,193 |
Messages: | 5,329,414 |