Bug 690532 - a5 paper format not available for PCL devices
Summary: a5 paper format not available for PCL devices
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Printer Driver (show other bugs)
Version: 8.64
Hardware: PC Windows XP
: P2 normal
Assignee: Marcos H. Woehrmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-11 10:48 UTC by Peter Berndts
Modified: 2011-09-18 21:47 UTC (History)
0 users

See Also:
Customer: 661
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Berndts 2009-06-11 10:48:54 UTC
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 */
Comment 1 Ray Johnston 2009-06-18 10:46:28 UTC
Assign to Marcos to evaluate the change and apply if it looks OK.
Comment 2 Marcos H. Woehrmann 2009-06-18 15:07:04 UTC
Fixed in r9802.  Thanks for the patch.
Comment 3 Marcos H. Woehrmann 2011-09-18 21:47:21 UTC
Changing customer bugs that have been resolved more than a year ago to closed.