OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Printing from the Zaurus, Anyone figured out how to print from Z?
roderickv
post Jul 13 2004, 08:13 AM
Post #1





Group: Members
Posts: 39
Joined: 20-May 04
Member No.: 3,360



OK, after find just the right software and ROM, I now have just about the perfect machine . I can go with out my laptop for most trips, except for one problem... I can't print from the Zaurus! I've searched through the site threads but I find little on the subject;

Has anyone figured out (or is working on) a way to print from the Zaurus? Most of the other good handhelds I've owned (all substandard to the Zaurus of course) had the ability to print directly from the infrared port to a printer that had an infrared port like the HP LJ 2100 for example. Even the old Zaurus ZR8500 (totally different machine) I owned could do this, But the new Zauri can't. I would even settle for a way to print wireless over an 80211b or g network, that would be great also. Are there no great minds working on this?
Go to the top of the page
 
+Quote Post
stupkid
post Jul 13 2004, 08:46 AM
Post #2





Group: Members
Posts: 578
Joined: 2-January 04
From: Texas USA
Member No.: 1,324



I have tried to get CUPS working on Cacko many months ago and failed, but you might want to check these packages out:

CUPS
http://zsi2.stonekeep.com/index.php?v=d&a=1742

PIMPrint
http://zsi2.stonekeep.com/index.php?v=d&a=772

LPRNG
http://zsi2.stonekeep.com/index.php?v=d&a=389

Hope this helps!
Go to the top of the page
 
+Quote Post
rrashkin
post Jul 13 2004, 08:48 AM
Post #3





Group: Members
Posts: 67
Joined: 10-December 03
From: Colorado
Member No.: 1,134



I think I read (in this forum?) that you can print text files over IR to a printer (assuming the printer has an IR sensor).

What I do on trips is bring along a CF or SD reader and borrow a PC when I need to print.
Go to the top of the page
 
+Quote Post
roderickv
post Jul 13 2004, 09:10 AM
Post #4





Group: Members
Posts: 39
Joined: 20-May 04
Member No.: 3,360



QUOTE
What I do on trips is bring along a CF or SD reader and borrow a PC when I need to print.


Yes that is what I am forced to do right now. I carry around a Jump Drive Trio http://www.lexar.com/dynamic-frameset_jd.h...ve/jd_trio.html
which works great, but it is a pain to have to find a free PC, transfer my document to the SD card and then put the SD card into the Jumpdrive and then put the jumpdrive into the PC and then bring up the document and print it... I would rather point my Z at the printer and hit ctl-P
Go to the top of the page
 
+Quote Post
roderickv
post Jul 13 2004, 09:16 AM
Post #5





Group: Members
Posts: 39
Joined: 20-May 04
Member No.: 3,360



QUOTE
I have tried to get CUPS working on Cacko many months ago and failed, but you might want to check these packages out:


Thanks I will definitely check them out. But at first glance, none of them seem to be real, and complete solutions.
Go to the top of the page
 
+Quote Post
lardman
post Jul 13 2004, 01:14 PM
Post #6





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



We had a chat about this on the devnet a long while back. I can't remember what was decided. Try a search for ghostscript.


Si
Go to the top of the page
 
+Quote Post
boosalis
post Jul 22 2004, 08:18 AM
Post #7





Group: Members
Posts: 78
Joined: 28-January 04
From: clovis CA USA
Member No.: 1,580



If your printer has an IP address, you might try to figure out how to telnet a page to it. For grins I tried it just now to my printer. I looked at my /etc/cups/printers.conf file on my desktop and saw my printer with the following entry:DeviceURI socket://172.16.100.205:9100
So from a command line I typed in
telnet 172.16.100.205 9100
And from the prompt I typed in
"this is a test" then hit ^] to terminate the connection.

the good news was that I got the page to print out but it had a strange header and footer, both the same which looked like the 2 of clubs from a card deck.

If you could figure out how to pipe or cat a file's contents to the telnet command you would at least get your output. then you just need to find out what the proper header should be and add that to your file (maybe look at lpr source code)

Definetly a hack solution.
Go to the top of the page
 
+Quote Post
coder101
post Jul 22 2004, 11:06 PM
Post #8





Group: Members
Posts: 21
Joined: 9-December 03
From: Sydney, Australia
Member No.: 1,124



Port 9100 is a common port to talk to printers. A HP print driver should be able to be configured to send stuff down that port and print maybe PCL type data streams as well as normal text. CUPS should be able to help here.
Go to the top of the page
 
+Quote Post
lardman
post Jul 23 2004, 02:57 AM
Post #9





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



This is all well and good, but unless the applications themselves are willing to output either ps or raster type data which CUPS can use then it's not really going to go anywhere - I think this was the conclusion which we drew before.

I'm not sure wqhat the answer is. Obviously some stuff will work and can be printed as text. Perhaps another method would be to take screenshots (assuming we don't have the source code to enable raster output) and then feed those through.

As I said before, ghostscript compiled without troubles, so we should also be able to print ps and pdf files at least, assuming CUPS works okay (it certainly compiled okay).


Si

P.S. Here are the (old) links from the devnet, which might add some more to the discussion:

http://www.zaurus.com/dev/board/index.php?...&hl=ghostscript
http://www.zaurus.com/dev/board/index.php?...&hl=ghostscript
http://www.zaurus.com/dev/board/index.php?...&hl=ghostscript
Go to the top of the page
 
+Quote Post
dwagelaar
post Aug 11 2004, 01:36 AM
Post #10





Group: Members
Posts: 46
Joined: 26-July 04
From: Brussels, Belgium
Member No.: 4,106



It seems that printing (cups, lprng, smbprint, etc.) still doesn't work with the standard SHARP rom on my Zaurus SL-C860... I might try setting up my own cross-compiling environment in the future, but for now I haven't time.

Since I'm using Linux print servers, I can use SSH for printing:

CODE
cat myfile.ps | ssh username@server lpr


When using CUPS on the server, it should understand several other file formats as well (not just postscript).
Go to the top of the page
 
+Quote Post
Zuber
post Aug 11 2004, 02:40 AM
Post #11





Group: Members
Posts: 277
Joined: 26-December 03
From: UK
Member No.: 1,289



Somewhat on a tangent to the above, but Sharp Japan have recently got some printer drivers out for the clamshell models.

They are not clever, just output via infra red to A7 printers. Do a screen dump as far as I can make out.
Go to the top of the page
 
+Quote Post
mikew
post Aug 11 2004, 04:42 AM
Post #12





Group: Members
Posts: 193
Joined: 19-March 04
Member No.: 2,402



Couple of suggestions, if anyone is realy serious about printing from the Zaurus.

OPTION 1

Will Perl programming language run on the Zaurus, if so it maybe possible to recomplie Net::LPR, so you can print to a network printer, maybe over WiFi. To use it you will need Perl 5.6.1 and PerlStart (download from http://www.science-computing.de/o.f...perl/perl5.html).

The program lpr.pl (http://perl.jonallen.info/bin/view/Main/EPOCLPRClient) is a simple Perl script to send a file (default is C:\PrintFile) to a remote print server. It is set up to accept PostScript files, however if you have an alternative driver for your printer (e.g. PCL4) then these can also be used by setting up a 'raw' print queue that does not process the data in any way.

If anyone wants to write a native version of LPR, the protocol is documented in www.faqs.org/rfcs/rfc1179.html.

OPTION 2

Download win32lpr which is a free implementation of LPR with source, for Windows & recompile for the Zaurus, written by Angus Duggan.

Mike
Go to the top of the page
 
+Quote Post
Omicron
post Aug 13 2004, 01:36 PM
Post #13





Group: Members
Posts: 608
Joined: 14-April 04
Member No.: 2,853



I can't afford my own printer but the printer who works down the road does a nice job on 30 bond paper silkscreening. But it costs too much for me to print often.

tongue.gif biggrin.gif laugh.gif blink.gif unsure.gif
Go to the top of the page
 
+Quote Post
rabbashanks
post Oct 22 2004, 11:14 PM
Post #14





Group: Members
Posts: 2
Joined: 21-January 04
Member No.: 1,495



Doing it the other way round...

My USB printer cable doesn't quite stretch to my laptop so I want to (temporarily) use my Zaurus C760 as a network printer server. If I plug my printer into the Z's USB port, I want to send jobs to the printer from other machines on the WIFI network.

It's got a CF wireless card which works fine, so I guess this shouldn't be too hard to do. The lpr formatting should be handled by the printing client (in my case an OS X powerbook).

CUPS and SMB .conf files? Am I looking in the right direction?

Or am I kidding myself?
Go to the top of the page
 
+Quote Post
stupkid
post Oct 23 2004, 12:40 AM
Post #15





Group: Members
Posts: 578
Joined: 2-January 04
From: Texas USA
Member No.: 1,324



Your Z needs to have the USB printer kernel module to talk to the printer. Assuming that is in place you will need to get lpd or cupsys setup as a print server. It can all be done, but it will take some work.

Good Luck.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 13th July 2014 - 07:12 AM