10-25-2016
The pcl format uses the escape (ascii 27) as the record separator, it is essentially a binary file. And IMO it is not something you can edit and always get decent results.
I've written simple pcl commands in C programs that do changes to a line of text - like turn on bold.
Download ghostpcl: Note they have linux executables, so you will have to run this on a linux box.
Ghostscript: GhostPCL Downloads
And see if this does what you need. The C++ coder will have to fully understand pcl code in order to make changes. Doesn't sound practical to me.
Ghostscript:ghostpcl lets you manipulate and view files.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a file that contain printer escape codes and text. How can I place the image on the top of each page in that file and print that text file out with the image in Unix.
Thank you. (0 Replies)
Discussion started by: caol
0 Replies
2. HP-UX
Good People,
My issue is an aging laserjet4si and its inability to interpret anything beyond PCLv2. Would anyone happen to know an easy way to force just one queue into using only PCL2 formatting?
I dug around in the interface script and in model.orig but didn't see anything immmediately... (0 Replies)
Discussion started by: Eronysis
0 Replies
3. Solaris
Hi,
I have two Solaris machines.
1. SunOS X 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Blade-1500
2. SunOS Y 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60
I am trying to buiild a project on both these machines. The Binary output file compiled on machine 2 runs on both the machines. Where... (0 Replies)
Discussion started by: scgupta
0 Replies
4. HP-UX
Hi,
I have a pcl file with a color invoice. Can you please advise me how I can print it directly from Hp/Ux command line to a network printer with a known IP address. The printer model is Xerox Docu Color 1632. How can I configure that printer under HpUx and which command is for printing pcl... (2 Replies)
Discussion started by: piooooter
2 Replies
5. AIX
I need to conver a PCL or PDF file to text in AIX, and I donīt know how. (0 Replies)
Discussion started by: 10789
0 Replies
6. UNIX for Dummies Questions & Answers
table.ubbfoot {background-color="#9999ff"} td.ubbfoot1 {font-size=8pt; font-family=arial,helvietica,swiss; color="#000000";} td.ubbfoot2 {font-size=8pt; font-family=arial,helvietica,swiss; color="#ffffff";} hello,
i want to create PCL Duplex Output (to print) from a pdf File.
i uses itanium (64)... (0 Replies)
Discussion started by: chzi
0 Replies
7. Shell Programming and Scripting
I am trying to add some variable print to a list of pcl files within a folder.
Am doing some programming within perl, bash and some other scripts.
(Open to a format and language).
I need to add an incrementing number (variable that will increment by one each time) to the first page of each pcl... (1 Reply)
Discussion started by: mach1
1 Replies
8. Programming
I am trying to add some variable print to a list of pcl files within a folder.
Am doing some programming within perl, bash and some other scripts.
(Open to a format and language).
I need to add an incrementing number (variable that will increment by one each time) to the first page of each pcl... (2 Replies)
Discussion started by: mach1
2 Replies
9. Shell Programming and Scripting
Hello *nix specialists,
Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Discussion started by: digidax
7 Replies
LEARN ABOUT OPENSOLARIS
gsinterface
GSinterface(1) General Commands Manual GSinterface(1)
NAME
GSinterface - LP interface script for using ghostscript under lpsched
SYNOPSIS
GSinterface [request-id] [user] [title] [copies] [options] [files]
DESCRIPTION
This shell script is intended to be uses as an LP interface script on Solaris 2.6 and later systems. It allows print queues to be config-
ured under LP using Ghostscript to render for the printer.
Configuration under lpsched is performed via the lpadmin(1M) command.
# lpadmin -p printer -v /dev/... -I"postscript,pdf" -Tunknown
-i /usr/sfw/share/ghostscript/interfaces/GSinterface
-o GS_DEVICE=(gs-device-type)
[-o OutputFile=(file/device)] [-o PAPERSIZE=(size)]
[-o RESOLUTION=XxY] [-o banner-type=(ascii|postscript)]
[-o GS_OPTIONS="-sIjsServer=... -sIjsParams=..."]
Valid values for the GS_DEVICE setting can be obtained from Ghostscript by running: "gs -h". This will dump a variety of information about
Ghostscript's usage and compile time configuration. The "Available devices:" section lists the formats that Ghostscript will render to.
You will need to match one of these formats to the format that your printer takes as input.
EXAMPLES
To configure a Canon Bublejet 800c (NeWSprinter CL+) printer connected to an ECP parallel port:
# lpadmin -p printer -v /dev/ecpp0 -I"postscript,pdf" -Tunknown
-i /usr/sfw/share/ghostscript/interfaces/GSinterface
-o GS_DEVICE=bjc800
# accept printer
# enable printer
To configure an HP DeskJet 990 printer connected via a USB interface using IJS support:
# lpadmin -p printer -v /dev/usb/lp1 -I"postscript,pdf" -Tunknown
-i /usr/sfw/share/ghostscript/interfaces/GSinterface
-o GS_DEVICE=ijs
-o GS_OPTIONS="-sIjsServer=hpijs -sDeviceManufacturer=HEWLETT-PACKARD -sDeviceModel='DESKJET 990' -DIjsUseOutputFD"
# accept printer
# enable printer
SEE ALSO
gs(1)
Ghostscript 15 October 2002 GSinterface(1)