DivideBV / Postnl

Library to connect to PostNL's SOAP service called CIF
GNU General Public License v2.0
31 stars 40 forks source link

What printerType are available, need png #45

Closed timo002 closed 7 years ago

timo002 commented 7 years ago

Hello,

I've used the 0.6.0 version of the repository. Now I want to update and all seems to be working fine, except that I'm getting a PDF returned instead of a PNG. Now I figured out that it is possible to change the printerType, which is default PDF. But how to get a PNG?

I don't want a PDF, I need a PNG. The PNG is directly send to a Dymo printer, I'm not storing the labels.

timo002 commented 7 years ago

After some debugging version 0.6.0, I found out that the default at moment was 'GraphicFile|PNG 300 dpi'. Using this value as printerType returns a PNG. I tested with PNG, but not with the dpi.

It would be useful to add a list of possible printerTypes.

ameenross commented 7 years ago

As noted before (probably useful to add to the README), you still need PostNL's documentation. The list you want is there (and up-to-date).