Ticket #135 (new enhancement)

Opened 2 years ago

Last modified 11 months ago

Multiple printer support

Reported by: cholland Owned by:
Priority: normal Milestone: freetz-future
Component: avm Version: devel
Severity: normal Keywords: usb printer server
Cc: Product ID:
Firmware Version: 40.04.50-freetz-devel--1_2128M

Description (last modified by cinereous) (diff)

For any user with an inkjet and laserjet it would be very usefull to have support for multiple printers (at least two). So the FB can be used as print server.

See also  http://www.ip-phone-forum.de/showpost.php?p=1075666&postcount=6 where the patch attached applies to ds-mod 26-15.2

I will try it for freetz-trunk.

Attachments

279-multiple_printers_hr.patch Download (9.4 KB) - added by Harry 11 months ago.
275-multiple_printers_layout.patch Download (0.6 KB) - added by Harry 11 months ago.

Change History

Changed 2 years ago by McNetic

I think it would not make too much sense to port the patch to freetz, as it seems freetz will somewhere in the near future implement a new hotplug chain -  see here. Maybe this would ease the implementation of using different printers.

Changed 2 years ago by oliver

  • milestone changed from freetz-1.0 to freetz-future

Changed 11 months ago by itzy

It appears there is nobody working on hotplug oder mdev these days. Maybe it's still worth porting the patch.

Changed 11 months ago by Whoopie

  • description modified (diff)

We already have multiple printer support, see r3550. What would be the benefit to also add this solution?

Changed 11 months ago by Harry

Okay, ticket 572 was closed, i try it again here :o)

I used this patch as basis for my patch, which has the following enhancements :

o working with laserjet 1300

(which has multple PROTOCOLS 1,2,3 , the routine finding the PROTO

couldn't handle this).

o storing of configuration, so the the printservers always have the same

port for the same (unique !) printer

Are you interested in this patch ?

Changed 11 months ago by cinereous

  • description modified (diff)

I closed the ticket for a very good reason. We already have a possibility to use more than on printer. And now i cite Whoopie with his post above:

We already have multiple printer support, see r3550. What would be the benefit to also add this solution?

And now something for my own: Where's the patch you used? You should attach it, and not tell something we can't follow.

Changed 11 months ago by Harry

Changed 11 months ago by Harry

Changed 11 months ago by Harry

No problem that you closed the ticket it was my fault.

r3550 is the patch i used first, but the following lines don't work for me (and my HP Laserjet 1300):

PROTOCOL=$(hexdump -s 34 -n 1 -e '1/1 "%02x"' $3) case $PROTOCOL in

01*|02*) # uni- and bidirectional

I'll submit my patch, it's only tested on my system.

Features

o Debug logging for testing purposes o automatic configuration via generated configfile o better way to find out PROTOCOL

(although i'm not satisfied with the way i did it)

o i separated the hotplug from the javascript-patch

so, now there are two patches ….

As i wrote in my first (deleted) ticket i'm not satisfied with output of all printers in printerstatus of AVM-Status-Pages..

Note: See TracTickets for help on using tickets.