using c-shell, does anyone know how to send control characters to the printer before the job?
I need to set a printer to print in condensed mode
HELP (1 Reply)
I am having difficulty sending a control sequence ESC&l5H (print to middle tray) to a HP printer (lp4).It is ignoring the command. I am using the following syntax in an executable file :
echo "'/033'&l5H" > /dev/lp4
lp -dlp4 filename
a) Is /033 'escape' ?
b) What is the correct syntax ? (5 Replies)
We were printing to a serial laser printer with all the HP codes to generate a form (i.e. lines, boxes, etc.) Thus the file is filled w/ control codes. We are switching to an IP printer and we can no longer print directly to the device (i.e. cp text /dev/tty11). It looks like we have to use the lp... (2 Replies)
Hi all,
I've got this issue which has me stumped. Any help would be greatly appreciated.
Printers which i have added through SAM, as remote printers with their IP address, only print the first line.
Any text file is sent through to the printer only prints the very first line of the file, and the... (18 Replies)
I've looked around and am able to print landscape to a PCL 5 printer with this command:
lp -o landscape -o cpi=20 -o page-right=30 -o page-left=30
-d <printer> <file>.
Which gives me a nice 200 columns.
But, when I send the same output and the same commands to a PCL 6 printer, it comes... (3 Replies)
Hi Friends,
I need your help in understanding this: :rolleyes:
I want to print the error numbers returned by the system calls (not the actual integers but the strings that they match to). The error numbers like EACCESS, ENOMEM, ENOENT etc ...
For eg:
returnCode = open(somefile,... (2 Replies)
This is an easy one but have no clue how to start. I am connecting via a PC running XP using putty. I have a printer attached to my PC. I need to print stuff. How can I set up this printer?
Thanks !:eek:
---------- Post updated at 18:22 ---------- Previous update was at 16:38 ----------
The... (2 Replies)
I ported application from SysV to Linux and run into troubles with printing.
Application uses lp and HP JetDirect-based printers, it inserts HP control codes in the file and uses plain lp -d dest doc-file command to print it.
The Linux (Ubuntu 8) has CUPS system, which I am not familiar... (0 Replies)
We have a post script enabled printer setup. But when we send any .ps file using ps to this printer we are getting this error:
Cannot print postscript file because No postscript print queue exists for this printer.
Print queue name Xerox
Printer name... (0 Replies)
I have been searching for a solution to a printing issue for several months now and have come up with no decently working solution. Please give input.
We have an old inventory control program running on TRU64 Unix V5.1B operating system. Around 2003 it was virtualized onto VMware via AVT's... (1 Reply)
Discussion started by: Ken_Snauffer
1 Replies
LEARN ABOUT DEBIAN
net::cups::ppd
Net::CUPS::PPD(3pm) User Contributed Perl Documentation Net::CUPS::PPD(3pm)NAME
Net::CUPS::PPD - PostScript Printer Definition Object
SYNOPSIS
use Net::CUPS;
use Net::CUPS::PPD;
my $ppd = $cups->getPPD( "lj4200dn" );
DESCRIPTION
Net::CUPS is an object oriented interface to the Common Unix Printing System.
Net::CUPS::PPD is an abstraction of methods to deal with PostSript Printer Definition files.
METHODS
getFirstOption
my $option = $ppd->getFirstOption();
getNextOption
my $option = $ppd->getNextOption();
getOption
my $option = $ppd->getOption( $keyword );
getPageLength
my $length = $ppd->getPageLength();
getPageSize
my %size = $ppd->getPageSize();
getPageWidth
my $width = $ppd->getPageWidth();
isMarked
my $result = $ppd->isMarked( $option, $choice );
markDefaults
$ppd->markDefaults();
markOption
$ppd->markOption( $option, $choice );
SEE ALSO
Net::CUPS, Net::CUPS::Destination, Net::CUPS::IPP
SUPPORT
Support for this module and other software developed by Dracken Technology, Inc can be found at http://www.dracken.com/.
AUTHOR
Dracken Technology, Inc. (http://www.dracken.com/)
COPYRIGHT AND LICENSE
Copyright (c) 2003-2005 David Hageman
Copyright (c) 2006-2009 Dracken Technology, Inc.
All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or,
at your option, any later version of Perl 5 you may have available.
CUPS, the Common UNIX Printing System, the CUPS logo, and ESP Print Pro are the trademark property of Easy Software Products.
perl v5.14.2 2009-07-30 Net::CUPS::PPD(3pm)