Sponsored Content
Full Discussion: Raw text to IP Printer
Top Forums UNIX for Advanced & Expert Users Raw text to IP Printer Post 73919 by jeffbugfree on Monday 6th of June 2005 01:11:02 PM
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
 

7 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

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. 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

6. 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

7. 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
DIRECTOMATIC(1) 					      General Commands Manual						   DIRECTOMATIC(1)

NAME
directomatic - Print without spooler SYNOPSIS
directomatic -P <printdef> [-J jobtitle] [-o option=value [...]] [file] DESCRIPTION
Directomatic is a filter script to print with free software printer drivers without the need of a print spooler. It is designed to be used together with a Foomatic printer definition file. Options -P <printdef> where printdef is the printer definition file to use. -J <jobtitle> where job title will be printed in the head line of every page of a plain text job. -o option=value Set an arbitrary option. file The file to print. Commands Directomatic will print from standard input unless a file to print is specified on the command line. If your printer definition file is in /etc/foomatic/direct or ~/.foomatic/direct you do not need to specify its path. Put a (instructions in the file) to redirect the output of directomatic to your printer instead of standard output. To make normal users able to print this way add them to group lp and make sure the appropriate printer device file /dev/lpX is group-writable. See http://www.linuxprinting.org/direct-doc.html FILES
/etc/foomatic/direct/<queue> The foomatic printer definition file. EXIT STATUS
directomatic returns 0 unless something unexpected happens. AUTHOR
Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de> for the foomatic project using output from the associated binary. BUGS
None so far. Foomatic Project 2001-05-07 DIRECTOMATIC(1)
All times are GMT -4. The time now is 10:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy