Raw text to IP Printer


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Raw text to IP Printer
# 1  
Old 06-06-2005
Raw text to IP Printer

We were printing to a serial laser printer with all the HP codes to generate a form (i.e. lines, boxes, etc.) We are switching to an IP printer and we can no longer print to the device (i.e. cp text /dev/tty11). It looks like we have to use the lp spooler now. When we do this the codes are ignored as the line is too long. Is there away to send raw text to an IP printer that is using the Jet Direct card to setup the queues? I saw an stty option on the lp command, can that be used to put it in raw mode?

Thanx for your help
Jeff
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Insert FF (feed form) in text file so that when printing the printer print on a new page accordingly

Hello. First happy new year to everybody. I have a script that generate a text file ( /tmp/part_list.txt for example ). This file can be edited using a kde graphical text editor like kate or kwrite The file can be printed out from command line or within the text editor using the print... (5 Replies)
Discussion started by: jcdole
5 Replies

2. Shell Programming and Scripting

Re-aligned text file into one raw

Hi, Anyone can help on how to re-aligned the data into one raw; Input Text File: TESTA Carbon A China 06/28/2016 Active Vol. 8210, No. 2048, New Era 02/25/2010 ... (1 Reply)
Discussion started by: fspalero
1 Replies

3. Programming

CGI script is returning raw text instead of getting processes

I am not a CGI/Unix expert. I was installing Cognos and as part of it we have the gateway which uses the cgi-bin The application was working fine untill the server is recreated with taking backup from the old server. so for testing I created a sample cgi file as test.cgi created at... (1 Reply)
Discussion started by: golden83
1 Replies

4. Shell Programming and Scripting

print formatted text to the printer

Hello!!! I am using shell script that print some formated text on the screen (example) ======== hello I am ... ======== Is it possible to print this information to the printer exactly as I see it on the screen??? (6 Replies)
Discussion started by: tdev457
6 Replies

5. Linux

Find printer location and printer type

Hi, Is it possible to find the printer location and printer type (whether it is local or network) using command in Linux ? Thanks in advance. (1 Reply)
Discussion started by: forumguest
1 Replies

6. AIX

Check printer queue on Windows printer server

Hello Let me first give a small overview of the setup. All printers are connected to Windows 2000 servers. There are a lot of UNIX (AIX & HP-UX) servers as well which have SAP running. I'm working on a script to add printers to a specified SAP instance. I want to verify the user input (to... (0 Replies)
Discussion started by: NielsV
0 Replies

7. UNIX for Dummies Questions & Answers

Printing 5 raw characters to a printer

Hi there, I want to open a cash drawer remotely. The cash drawer is commanded by a printer. I need to connect to the cash drawer which is connected over a network (and shared) and simply send a sequence of five ASCII commands (see http://pages.prodigy.net/daleharris/popopen2.htm) to a... (5 Replies)
Discussion started by: Friğrik
5 Replies
Login or Register to Ask a Question
printers.conf(5)						    Apple Inc.							  printers.conf(5)

NAME
printers.conf - printer configuration file for cups DESCRIPTION
The printers.conf file defines the local printers that are available. It is normally located in the /etc/cups directory and is generated automatically by the cupsd(8) program when printers are added or deleted. Each line in the file can be a configuration directive, a blank line, or a comment. Comment lines start with the # character. DIRECTIVES
<Printer name> ... </Printer> Defines a specific printer. <DefaultPrinter name> ... </Printer> Defines a default printer. Accepting Yes Accepting No Specifies whether the printer is accepting new jobs. AllowUser [ user @group ... ] Allows specific users and groups to print to the printer. DenyUser [ user @group ... ] Prevents specific users and groups from printing to the printer. DeviceURI uri Specifies the device URI for a printer. ErrorPolicy abort-job ErrorPolicy retry-current-job ErrorPolicy retry-job ErrorPolicy stop-printer Specifies the error policy for the printer. Info text Specifies human-readable text describing the printer. JobSheets banner banner Specifies the banner pages to use for the printer. KLimit number Specifies the job-k-limit value for the printer. Location text Specifies human-readable text describing the location of the printer. OpPolicy name Specifies the operation policy for the printer. PageLimit number Specifies the job-page-limit value for the printer. PortMonitor monitor Specifies the port monitor for a printer. QuotaPeriod seconds Specifies the job-quota-period value for the printer. Shared Yes Shared No Specifies whether the printer is shared. State idle State stopped Specifies the initial state of the printer (Idle or Stopped) StateMessage text Specifies the message associated with the state. StateTime seconds Specifies the date/time associated with the state. SEE ALSO
classes.conf(5), cupsd(8), cupsd.conf(5), mime.convs(5), mime.types(5), http://localhost:631/help COPYRIGHT
Copyright 2007-2011 by Apple Inc. 29 April 2009 CUPS printers.conf(5)