cutting after printjob

Label printing integration (NiceWatch middleware and ActiveX programming interface)

Moderators: Georges, milos, NiceLabel Support Team

Post Reply
helado
Newcomer
Posts: 4
Joined: Tue Nov 13, 2018 1:49 pm

cutting after printjob

Post by helado » Thu Jun 06, 2019 10:24 am

Hello,

i print with vb.net labels.
i know there is an option in Nicelabel, that you could cut after the printjob.
But i will allow the user to decide , if its cut after printing or not.

know anyone a parameter, where this works, or is this with the nicelabel.sdk impossible?

Thanks 4 reading

kindly Thomas

milos
NiceLabel Support
NiceLabel Support
Posts: 182
Joined: Wed Sep 19, 2007 3:35 pm

Re: cutting after printjob

Post by milos » Wed Jun 12, 2019 2:40 pm

Hi,
I suppose NiceLabel 2019 .NET API is installed on your computer.
Two methods exist to offer user to select/deselect cutter:
1. Two label templates
Label templates of same contents are different in cutter/no cutter selection only, saved in label. User selects cut/no cut.
2. .Net API method SetParameter
This method is advanced one. Supported parameters are:
- PaperBin
- PrintSpeed
- PrintDarkness
- HorizontalOffset
- VerticalOffset
- PrintSettings

"PrintSettings" Specifies the custom printer settings to be applied to the print job. The parameter requires the entire DEVMODE for the target printer, provided in a Base64-encoded string. The DEVMODE contains all parameters from the printer driver at once, also CUT mode.
Milos Jenko
NiceLabel Technical Support

helado
Newcomer
Posts: 4
Joined: Tue Nov 13, 2018 1:49 pm

Re: cutting after printjob

Post by helado » Thu Jun 13, 2019 12:02 pm

hello milos,

thanks for your answer.

i think i would make an empty label where the paramater cutting is checked to true.
so if the user would print and want to cut after the printjob, i print 1 of these label finally, so i get the cut.
this would the easiest way.
with the DEVMODE, i have no experience.
i have to check the internet for that.

kindly

Thomas

Post Reply