CutePDF's part in Barcodes in SAP with the Barcode writer in Pure Postscript.
Previously I had blogged about 26 barcodes on one page with scripts based around Redmon, Microsoft services for Unix and Ghostscript.
Well Cutepdf allows the PDF call to be configured in a setup.ini file, so I can bypass Redmon and Microsoft services for Unix in the following way.
The install directory for CutePDF on my XP system (my ghostscript version is 8.64)
C:\Program Files\Acro Software\CutePDF Writer
Here create a setup.ini file with the following contents
Arguments=-q -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile="%1" "C:\Program Files\Acro Software\CutePDF Writer\barcode.ps" -
(as its blogger again with formatting code sections, the Arguments parameter is ONE line and ends with - character)
The arguments line includes the barcode.ps postscript so this file needs to be placed in the same directory. This does mean that every call to the cutepdf printer would merge barcode.ps with every printout.
Here is a screen shot of my setup.
I have not tested all parts only the ABAP list and sapscript. My previous experience of trying to merge postscript files was not so successful. However, so far it works every time.
Sunday, December 19, 2010
- ► 2011 (30)
- ▼ December (6)