Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 02 Sep 2014, 21:08
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Printers
How to get Pentax Pocketjet II printer to work? - SOLVED
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [20 Posts]   Goto page: 1, 2 Next
Author Message
tide

Joined: 13 Aug 2010
Posts: 56

PostPosted: Tue 21 Sep 2010, 13:12    Post subject:  How to get Pentax Pocketjet II printer to work? - SOLVED  

Hi all

perhaps somebody could hint out to me, what I'm not getting! Followed the instructions:

Started cups wizard

downloaded Pentax-PocketJet_II-pentaxpj.ppd
(said "works perfectly) from www.linuxfoundation.org

Copied it to usr/share/cups/model

ran the installer again and selected my printer from the drop down menu
Correctly at LPT1 too (parallel printer)

Said all fine and if I wanted to print a test page?

Sure I did but that's where nothing happened. Printer doesn't show it's receiving data and that's that.

Bit puzzled why the CUPS install page says something about:
"/usr/lib/cups/filter/foomatic-rip failed"

Printer Driver: Pentax PocketJet II Foomatic/pentaxpj (recommended)
Printer State: idle, accepting jobs, published.
Device URI: parallel:/dev/lp0

Sorry probably thick but I'm absolutely lost!

Last edited by tide on Thu 23 Sep 2010, 12:22; edited 1 time in total
Back to top
View user's profile Send private message 
tide

Joined: 13 Aug 2010
Posts: 56

PostPosted: Tue 21 Sep 2010, 13:15    Post subject:  

Forgot to mention: Puppy 4.2.1. running on an ex windows laptop
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9066
Location: Stratford, Ontario

PostPosted: Tue 21 Sep 2010, 14:12    Post subject:  

Contrary to popular belief, a PPD file alone is not enough to install a printer. You almost always need some additional driver software. The PPD is just a configuration file that sets up the print job.

If you follow the links at openprinting.org, you end up here with the source code for a Pentax driver.

I'll see if it can be compiled in Puppy 4.2.1.

Last edited by rcrsn51 on Tue 21 Sep 2010, 14:54; edited 1 time in total
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9066
Location: Stratford, Ontario

PostPosted: Tue 21 Sep 2010, 14:53    Post subject:  

Here is a PET for your Pentax Pocketjet II. It installs both the driver program and the PPD file.

It runs correctly under simulation so hopefully it will work with the actual printer.

[Edit] Attachment deleted. Continue reading!

Last edited by rcrsn51 on Sat 25 Sep 2010, 16:34; edited 2 times in total
Back to top
View user's profile Send private message 
tide

Joined: 13 Aug 2010
Posts: 56

PostPosted: Tue 21 Sep 2010, 16:06    Post subject:  

Thanks for your help! It does seem that I don't get the error message anymore. Instead puppy now proudly claims to have completed the job of printing a test page. Unfortunately however my printer remains silent. I did check the connections! Should I uninstall the CUPS PPD file thingy first?

cheers
Back to top
View user's profile Send private message 
tide

Joined: 13 Aug 2010
Posts: 56

PostPosted: Tue 21 Sep 2010, 16:39    Post subject:  

Okay, deleted the printer. Checked, then reinstalled via cups wizzard. Checked if the installed pet was ok, no problems there. Finally ran a printer dip switch self test to make sure IT was ok and it was. No communication between puppy and printer though!
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9066
Location: Stratford, Ontario

PostPosted: Tue 21 Sep 2010, 17:14    Post subject:  

The problem is that the author's documentation does not even mention CUPS. The driver is designed to work with the older LPD print spooler system.

So, in spite of the fact that openprinting.org provides a PPD file for this printer, I don't know how to get it working in Puppy.
Back to top
View user's profile Send private message 
tide

Joined: 13 Aug 2010
Posts: 56

PostPosted: Wed 22 Sep 2010, 12:18    Post subject:  

Cheers for trying, really appreciate it! And what a shame, the pocketjet is just so useful as it's by far the smallest printer I know. Sort of fixed a 486-Laptop by unsoldering and replacing the damn CMOS battery.
Printer runs fine with anything from Win 3.x to XP, maybe even Win 7.
Seems to me that one always needs at least one windows machine for all the stuff that Linux won't do. Wishing it wasn't so!
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9066
Location: Stratford, Ontario

PostPosted: Wed 22 Sep 2010, 13:04    Post subject:  

I have sent a message to the driver's author asking if he has any CUPS-specific instructions.
Back to top
View user's profile Send private message 
tide

Joined: 13 Aug 2010
Posts: 56

PostPosted: Wed 22 Sep 2010, 16:36    Post subject:  

Wow, thanks again! Do I feel embarrassed now Shocked
Must admit I struggle to understand what CUPS actually IS.
I mean I know what a driver is and I take it the PDD is more
of a printer definition file. Coming mainly from a Windows
background I'm feeling slightly lost at the moment.

Getting on fairly well with Puppy and certainly enjoying it but
when a PET doesn't work for whatever reason or say the
command line pops up I always feel a bit less at home!
Back to top
View user's profile Send private message 
tide

Joined: 13 Aug 2010
Posts: 56

PostPosted: Wed 22 Sep 2010, 16:54    Post subject:  

P.S.: Seeing your thread concerning Brother printers, checked their site. Pentax is now owned by brother and while the PJII/PJ200 is an obsolete model they now sell the newer PJ III range (USB/IfR and Bluetooth). Unfortunately none of them comes with Linux drivers though.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9066
Location: Stratford, Ontario

PostPosted: Wed 22 Sep 2010, 21:33    Post subject:  

Courtesy of the pentaxpj driver's author here, we may have a solution. This method does not involve installing a CUPS printer - printing will be done from the command line.

1. Install the PET below. Unlike the previous PET, it does not change CUPS.

2. When you want to print from an application, look for an option called "Print to File". This setting has different names, depending on the application. You want Postscript format. Name the file something like "output.ps"

3. The file will be created in /root. To test it, click on the file and open it in the PDF viewer program.

4. Open a terminal window in /root by pressing the back-tick key above the Tab key. Type:
Code:
pentax output.ps


5. With any luck, this will send the print job directly to your parallel port.
pentaxpj-1.0.pet
Description 
pet

 Download 
Filename  pentaxpj-1.0.pet 
Filesize  25.86 KB 
Downloaded  387 Time(s) 
Back to top
View user's profile Send private message 
tide

Joined: 13 Aug 2010
Posts: 56

PostPosted: Thu 23 Sep 2010, 12:20    Post subject:  

That's great news! Just tried it with a simple text file and it works.
Entered the terminal, typed "pentax etc.ps" and that's it. It's probably not the most convenient way but suits me fine. No problem at all with printing to file first as long as I ultimately get things to the printer. This really is quite a leap forward for me in Puppy usability. A million thanks!

One last question though: the back tick thingy doesn't work on my keyboard, takes
Shift to do a back tick but that doesn't seem to cut the mustard with puppy. Easy enough to right click an select it from the drop down menu but a lot of keyboard shortcuts don't seem to work.

Anyways: great to have the printer working!
Back to top
View user's profile Send private message 
tide

Joined: 13 Aug 2010
Posts: 56

PostPosted: Thu 23 Sep 2010, 12:30    Post subject:  

It seems I can't print pictures at all and PDF files can't be printed to file. That's odd.
Back to top
View user's profile Send private message 
tide

Joined: 13 Aug 2010
Posts: 56

PostPosted: Thu 23 Sep 2010, 14:07    Post subject:  

Good news: I CAN print PDF files. Open terminal in folder and type:

pentax file.pdf

doesn't work with jpg though
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [20 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Printers
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0678s ][ Queries: 12 (0.0039s) ][ GZIP on ]