Summary: | a5 paper format not available for PCL devices | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Peter Berndts <peter.berndts> |
Component: | Printer Driver | Assignee: | Marcos H. Woehrmann <marcos.woehrmann> |
Status: | NOTIFIED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 8.64 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Customer: | 661 | Word Size: | --- |
Assign to Marcos to evaluate the change and apply if it looks OK. Fixed in r9802. Thanks for the patch. Changing customer bugs that have been resolved more than a year ago to closed. |
Though there are PCL printing systems with paper trays that can handle A5 paper size, the PCL driver can not handle size A5, which is a "known paper size". The following command line, with an A5 size PDF as input, creates a C5 size PCL output: gswin32 -dNOPAUSE -sDEVICE=ljet4d -sPAPERSIZE=a5 -dNORANGEPAGESIZE - sOutputFile=test.pcl -c "<< /InputAttributes << 0 << /PageSize [ 420 595 ] >> >> >> setpagedevice " -f test.pdf The following line needs to be added in gdevpcl.c CHECK_PAPER_SIZE( 5.83, 8.27, PAPER_SIZE_A5); The following line needs to be added in gdevpcl.h #define PAPER_SIZE_A5 25 /* 14.8 cm x 21.0 cm */