Sponsored Content
Full Discussion: printing a Unix file
Special Forums UNIX Desktop Questions & Answers printing a Unix file Post 60119 by zazzybob on Monday 10th of January 2005 04:49:35 PM
Old 01-10-2005
As locustfurnace indicates, we need a lot more information before we can start diagnosing the problem.

First things first. Which OS are you using? Please post the output of uname -a.

Also; are you using CUPS or LPR(ing)?
run ps -ef | egrep 'cupsd|lpd' - what's the output?

If you're using Linux or one of the *BSDs, check out http://www.linuxprinting.org/ - is your Dell printer listed? Is it a USB or Parallel printer? If it's parallel did you try ls > /dev/lp0 as locustfurnace suggested?

More information please.

Cheers
ZB
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Printing Problems in unix ... ( Bar-cdoe - Ip Printing)

Hi guys ... i need ur help with some printing problem in unix ... first prob. : i wanna print from my NCR unix to an Win NT , Ip based printing server ( HP JetDirect ) . My issue , is it possible to print directly to an Ip address from unix ? How do i make it work to get any results ?... (3 Replies)
Discussion started by: QuickSilver
3 Replies

2. Shell Programming and Scripting

printing file in unix sun os 5.7

Hi, I am trying to print a file with one of the field has over 1000 charactors. When I print the file only part of the data was printed. What can I do to be able to print out all the data in this field? Thanks (3 Replies)
Discussion started by: whatisthis
3 Replies

3. SCO

File Editing and Printing in Unix

Hi, Can some one provide me with, some good links containing help for file editing and printing in unix. Regards, Muhammad Tayyab Shereen Motor Co. Kuwait (1 Reply)
Discussion started by: tayyabq8
1 Replies

4. UNIX for Dummies Questions & Answers

Printing under UNIX

Hi All As UNIX newbie, (I know Open VMS very well) I have the following question: If I use the lpr command for printing, I normally specify the printer name an the file I want to print. So far so good. Once this is done I can than check with the lpstat command the status of my printjob, but... (2 Replies)
Discussion started by: duc
2 Replies

5. UNIX for Advanced & Expert Users

UNIX Printing

Greetings. Got a problem I'm working on, not that familiar with UNIX to be honest. We're having some issues printing from a UNIX Server, hoping someone can help. Here's the situation: We have remote offices that use Microsoft Windows Remote Desktop Client to connect to a Windows 2003 Terminal... (5 Replies)
Discussion started by: MPW
5 Replies

6. UNIX for Advanced & Expert Users

Unix Printing

Hi, I need to print PDF from Unix command line on couple of printers like Lexmark T644PS, HP LJ4100DTN connected to Windows Print Server. I need options of mentioning the printer name and choosing tray number for printing. I was successfull in FTPing PDF files to printer but i could not find... (2 Replies)
Discussion started by: snvijaysankar
2 Replies

7. SCO

Unix Printing

Hi, The code is generating a file of 180 lines, I can check that with vi, but when I am executing the following command for duplex printing , it is printing 4 pages which include 2 blank pages 2 & 4 (page no). $ lp -d printer -0 'land,double,lpi=8,length=90' filename It is expected to print... (1 Reply)
Discussion started by: dsd
1 Replies

8. UNIX for Dummies Questions & Answers

Sco Unix printing : jobs hangs in queue - printing via lp versus hpnpf

Hi, We have a Unix 3.2v5.0.5. I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts). This is the configuration file : Code: root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies

9. Shell Programming and Scripting

Printing the output of a db2 query on to an unix file

I want to print the output of a db2 query, on to an unix file in a manner that the columns are separated by 'commas'. Please help me out..thanx in advance (1 Reply)
Discussion started by: prasan_ven
1 Replies

10. Shell Programming and Scripting

Need help with printing in UNIX

I have a file that looks like below: a:b:c d e f g h u:f:j e:k:c0 d9 e1 x55 h789 p:d:hh dtyu gasd lrtyu oqa Is there a way to print is as given below: a:b:c d e f g h u:f:j e:k:c0 d9 e1 x55 (5 Replies)
Discussion started by: sags007_99
5 Replies
FOOMATIC-GETPJLOPTIONS(8)				      System Manager's Manual					 FOOMATIC-GETPJLOPTIONS(8)

NAME
foomatic-getpjloptions - <put a short description here> SYNOPSIS
foomatic-getpjloptions device foomatic-getpjloptions hostname port DESCRIPTION
foomatic-getpjloptions Sends a set of PJL commands and reads back the PJL options and status from a printer over a network connection or device bidirectional interface such as parallel, USB, serial. printers to standard output. The output can be piped into foomatic-addpjlop- tions to add options to the database. Options device The interface to which a local printer is connected, e.g. /dev/lp0, /dev/usb/lp0, /dev/tty00, etc. For a parallel port, you must have bidirectional support enabled at the BIOS level and the parallel port driver must support the bidirectional mode. Check your parallel port BIOS settings for EPP/bi-directional mode. hostname Host name or IP address of a network printer (HP JetDirect, DLINK, etc.). port Port on which your network printer listens for socket (Appsocket) connections. Most common ports are 9100 (JetDirect), 10000 (DLINK). Usually you can configure the port via a configuration interface. EXIT STATUS
foomatic-getpjloptions returns ??? AUTHOR
Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de> for the foomatic project using output from the associated binary. Modified by Patrick Pow- ell <papowell at lprng.com> to provide betters support for network printers, error messages, and remove CR and FF from output. WARNINGS
Uni-directional protocols as remote LPD are not supported as no status is returned. Some network print servers which attach to a printer parallel port do not support bidirectional mode. Foomatic Project 2001-05-07 FOOMATIC-GETPJLOPTIONS(8)
All times are GMT -4. The time now is 08:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy