> From [EMAIL PROTECTED] Tue Aug 22 02:14:27 2000
> Date: Tue, 22 Aug 2000 09:57:03 +0200
> To: [EMAIL PROTECTED]
> From: Lars-Gunnar Persson <[EMAIL PROTECTED]>
> Subject: Re: LPRng: Summery of Tektronix Phaser 560 info
>
> I've done some testing now and noticed that with the following
> AppSocket settings on the printer:
>
> Port Enabled: Yes
> Language: Postscript
> Host Access List: Unrestricted
> Receive Window Size: 0
> Send Window Size: 0
> Filtering: None
> Delayed Output Close: Off
>
> I manage to get the pagecounter. When the option Language was set to
> AUTO, I got the Connection refused error message.
>
> The command I used was:
>
> # ./ifhp -Tdev=tek560%9100,trace,debug=2,model=phaser <
> /var/tmp/smalltest.ps 2>&1 | tee /var/tmp/log01
>
> tek560 - IP name of printer
> smalltest.ps - a small postscript document
> log01 - the log file
>
> When I sent the file I only got the following error message printed:
>
> ERROR: undefined (COMMAND TYPE: nametype)
> OFFENDING COMMAND: M "^AM"
>
> OPERAND STACK: (0 total entries)
> ===top of stack===
> ...
>
> When I examine the logfile I found the following:
> ...
> ifhp 09:19:02.905 [27100] Send_job: job type 'POSTSCRIPT'
> ifhp 09:19:02.907 [27100] Init_outbuf: Outbuf 0x40798, Outmax 10240, Outlen 0
> ifhp 09:19:02.908 [27100] Init_job: language 'POSTSCRIPT'
> ifhp 09:19:02.910 [27100] Init_job: after PJL ENTER ''
> ifhp 09:19:02.911 [27100] Init_job: doing ps init
> ifhp 09:19:02.913 [27100] Init_job: 'ps' and Topts
> ifhp 09:19:02.914 [27100] Init_job: 'ps' and Zopts
> ifhp 09:19:02.915 [27100] Init_job: final '^AM%!
> ifhp 09:19:02.917 [27100] Write_out_buffer: write len 5, read_fd 1,
> maxtimeout 0
> ifhp 09:19:02.918 [27100] Write_out_buffer: timeout 0, len 5
> ifhp 09:19:02.921 [27100] Write_out_buffer: left to write 0, flag 0
> ifhp 09:19:02.922 [27100] Write_out_buffer: done, returning 0
> ...
> ifhp 09:19:06.154 [27100] Write_out_buffer: write len 10240, read_fd
> 1, maxtimeout 0
> ifhp 09:19:06.155 [27100] Write_out_buffer: timeout 0, len 10240
> ifhp 09:19:06.157 [27100] Write_out_buffer: left to write 10240, flag 1
> ifhp 09:19:06.158 [27100] Read_status_line: read fd 1, count 110,
> '%%[ Error: undefined; OffendingCommand: ^AM ]%%
> %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%'
> ifhp 09:19:06.160 [27100] Write_out_buffer: Read_status_line returned 110
> ifhp 09:19:06.162 [27100] Check_device_status: error = 'undefined;'
> ifhp 09:19:06.163 [27100] Check_device_status: offendingcommand = '^AM'
> ifhp 09:19:06.166 [27100] Write_out_buffer: timeout 0, len 10240
> ifhp 09:19:06.178 [27100] Write_out_buffer: left to write 0, flag 0
> ifhp 09:19:06.179 [27100] Write_out_buffer: done, returning 0
> ...
>
> Any help appreciated,
> --
> Lars-Gunnar Persson
> System Administrator
>
> Nansen Environmental and Remote Sensing Center
> Address: Edvard Griegs vei 3a, N-5059 Bergen, NORWAY
> Phone: +47 55 29 72 88, Fax: +47 55 20 00 50
> E-mail: [EMAIL PROTECTED], Web: www.nrsc.no
>
Lets see what you have:
> Port Enabled: Yes
> Language: Postscript
^^^^ You hard wire postscript only. This is good
> Host Access List: Unrestricted
> Receive Window Size: 0
> Send Window Size: 0
> Filtering: None
> Delayed Output Close: Off
^^^^ I wonder what this is about...
I suspect that you want to set this to ON
The ifhp configuration you are using for this printer
has set 'tbcp' option on. Here are the comments from the
ifhp.conf file:
## Some printers insist on using the Tagged Binary Commmunication Protocol
## to support sending embedded PS file. If you need to use TBCP, enable this.
## This flag is inherently evil, and is for desperate uses only,
## and should not be generally enabled.
##
## If you don't know what this is about, don't mess with it.
## As they say, You have been warned. Read the code, read the
## TBCP documentation, and get ready to experiment with this
## before blindly enabling it.
##
# tbcp
Note the warnings... and you have been burned by it.
Turn this flag off or remove it from the configuration.
Now try again.
Patrick Powell Astart Technologies,
[EMAIL PROTECTED] 9475 Chesapeake Drive, Suite D,
Network and System San Diego, CA 92123
Consulting 858-874-6543 FAX 858-279-8424
LPRng - Print Spooler (http://www.astart.com)
-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------