julun | 11 Aug 2008 02:09
Picon
Picon
Gravatar

Updates?

Hi,

I have started playing around a bit with some new API for the print kit.

BPrinter: wraps currently around the old style printer nodes, but i would 
like to extend it to handle ppd informations as well.

BPrinterRoster: can be used to retrieve printers from the system without 
print_server.

BPrintPanel, BJobSetupPanel (some missing panels): the idea here is to get 
rid of implementing these inside the driver (won't work with cups anyway). 
Instead they should get the information from BPrinter and it set there as 
well. This would also allow to get rid of app settings storage in print server.

I would also like to merge the preview and pdf printer as inbuild classes, 
so that, e.g preview printing works instantly without print to preview or 
tons of clicks in the printer panels. The same counts for pdf, it should be 
provided by default and always be available, but not as independent system 
printer.

There is still a loooot of stuff missing, but i would like to inform you so 
that nobody feels offended from my doing. If there are questions, ideas or 
concerns, please shout  :)

Regards,
Karsten

PS: Any informations on the cups port?

(Continue reading)

Michael Pfeiffer | 22 Jul 2008 10:12
Picon

Re: printkit source related reorganization

Hi Jovan!

Am 22.07.2008 um 08:47 schrieb Jovan Ivankovic:

> All my code is PPD parser related, so I you can reorganize the source
> tree, and I'll keep up with the changes. I'm also quite happy that
> there is more people working on printing stuff on Haiku. Great!

Is there anything where I could help? I will probably have some spare  
time next week and the week after that week.

- Michael
PS: You didn't reply to the ML.

julun | 22 Jul 2008 00:08
Picon
Picon
Gravatar

haiku-printingkit-cvs

Hi,

while calling jam haiku-printingkit-cvs, i noticed that the generated 
package puts drivers and transport add-ons in the right place, but places 
print_server and Printers preflet in a folder called haiku-printingkit-cvs 
on the desktop. Is there any specific reason for this or should this be 
adjusted?

Regards,
Karsten

Julun | 21 Jul 2008 16:03
Picon
Picon

printkit source related reorganization

Hi,

as i wrote some time ago in an private mail, i would like to reorganize 
the current printing related source files. What i came up with will look 
like this:

headers/libs/print/libprint:
(moved from headers/private/print/libprint)
- AboutBox.h
- AddPrinterDlg.h
- DbgMsg.h
- DialogWindow.h
- Exports.h
- GraphicsDriver.h
- Halftone.h
- HalftoneView.h
- JobData.h
- JobSetupDlg.h
- JSDSlider.h
- PackBits.h
- PageSetupDlg.h
- PagesView.h
- Pattern.h
- Preview.h
- PrinterCap.h
- PrinterData.h
- PrinterDriver.h
- PrintProcess.h
- SpoolMetaData.h
- StatusWindow.h
(Continue reading)

Michael Pfeiffer | 3 Feb 2007 13:00
Picon

Recursive processing of BLooper messages

Hi

I do not know how to solve the following problem:

In BeOS R5 you can call BPrintJob.ConfigPage() inside a BLooper hook  
method and although the method ConfigPage() did not return yet, the  
calling BLooper still is processing messages sent to it.

In the Haiku implementation of ConfigPage(). A synchronous message is  
sent to the print_server, the print_server then opens the dialog and  
when the dialog is closed it sends a response. ConfigPage() handles  
the response message and returns. Of course this blocks the calling  
thread.

In case the calling thread is a BLooper thread. My idea is to do the  
communication with the print_server in a separate thread. In the  
meantime ConfigPage() keeps processing the messages sent to the  
BLooper until the spawned thread terminates.

What are your thoughts? How can the nested processing of messages be  
accomplished? Are there other ways to do that?

- Michael
PS: Cross-posting to get more attention. Please reply to open-beos- 
printing@... if possible.

Curtis Wanner | 14 Nov 2005 14:39
Picon

Minor Issues

There appear to be some comments that need to be adjusted.

Halftone.cpp is commented as being HalftoneEngine.cpp
src/add-ons/print/drivers/shared/libprint/Halftone.cpp

Halftone.h is commented as being HalftoneEngine.h
/headers/private/print/Halftone.h

BeUtils.h is commented as being BeUtils.cpp
/headers/private/print/BeUtils.h

Curtis

Curtis Wanner | 5 Nov 2005 02:14
Picon

Print Mailing List


Is this list still alive??

I'm planning to do some work on some customized print drivers, and I'll need 
some programming help.

Curtis 

Philippe Houdoin | 2 Jul 2003 00:53
Picon
Favicon

Re: Open-beos-cvs digest, Vol 1 #1705 - 8 msgs

> Update of /cvsroot/open-beos/current/src/add-ons/print/transports/
> usb=5Fport
> In directory sc8-pr-cvs1:/tmp/cvs-serv13601
> 
> Modified Files:
> 	print=5Ftransport.cpp 
> Log Message:
> Changed include file name.

[...]

> -#include "TransportAddOn.h"
> +#include "PrintTransportAddOn.h"

Damn! I hate CVS when I don't want to commit all my pending change, but 
I forgot obvious ones.
Sorry Michael.

-Philippe

--
Fortune Cookie Says:

I've given up reading books; I find it takes my mind off myself.

Michael Pfeiffer | 29 Jun 2003 21:06
Picon

USB and Serial Port add-ons added

Hi,

have commited the USB Port transport add-on contributed by Andreas Benzler
and my untested Serial Port add-on (which is a slightly modified copy of the 
Parallel Port
add-on).

BTW it seems BeOS R5 supports one connected USB printer only. Can somebody
verify this?

I have a more than a have year old copy of the cvs repository and since I 
updated to the latest version of jam, Jamfile and Jambase in the root 
directory, 
I can not build anything, because jam crashes

I get this
warning: unknown rule SystemMain 
4 times
and then jam crashes (it seems with a stack overflow).
The stack trace repeats these lines some thousand times:
fcfe5254   8001153d  evaluate_rule + 00000171
fcfe5278   8001138c  compile_rule + 000000b8
fcfe52cc   8001160a  compile_rules + 0000007e
fcfe52e4   80009a61  parse_file + 00000071
fcfe5328   80010fde  compile_include + 000000d2 

Philippe or whoever reads this, please check that the checked in 
source code builds without errors 
(current/src/add-ons/print/transports/usb_port, serial_port, parallel_port).

(Continue reading)

Michael Pfeiffer | 19 Feb 2003 20:02
Picon

More printer drivers


Hi,

A dumb PostScript printer driver is in the repository.
It supports monochrome and color printing.
Color printing requires about 24 times more space
than monochrome printing in the output not in
memory!
The printer driver is not usable for PS file creation, 
because it creates very large files depending on the 
chosen dpi.

A PCL6 printer driver is also in the repository.
It supports monochrome printing only and is
untested and it's very likely that it does not work.

BTW has anybody documentation for a printer
language called PCLGUI? My HP DeskJet 3816
seems to use this for color printing.

- Michael

Michael Pfeiffer | 27 Jan 2003 23:24
Picon

PCL5 compatible printer driver implemented


Hi

I have found a real jewel in our cvs repository, libprint, implemented by 
Y.Takagi!
It makes writing printer drivers for raster printers very easy.
I have today implemented a PCL5 compatible printer driver and
commited to the repository. Currently it does not support color printing.

Enjoy whoever has a PCL5 compatible printer (like HP DeskJets) and want to
test this driver.

- Michael


Gmane