Click here to Skip to main content
15,890,123 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Maths problem of the day Pin
User 1106097913-Apr-17 10:08
User 1106097913-Apr-17 10:08 
GeneralRe: Maths problem of the day Pin
RossMW13-Apr-17 12:05
professionalRossMW13-Apr-17 12:05 
JokeRe: Maths problem of the day Pin
V.13-Apr-17 20:12
professionalV.13-Apr-17 20:12 
GeneralRe: Maths problem of the day Pin
fd975013-Apr-17 22:28
professionalfd975013-Apr-17 22:28 
JokeRe: Maths problem of the day Pin
Daniel Pfeffer13-Apr-17 22:19
professionalDaniel Pfeffer13-Apr-17 22:19 
GeneralRe: Maths problem of the day Pin
den2k8814-Apr-17 0:51
professionalden2k8814-Apr-17 0:51 
GeneralMessage Removed Pin
13-Apr-17 6:24
Member 1224898313-Apr-17 6:24 
GeneralReport printing in roll paper Pin
Member 1224898313-Apr-17 6:24
Member 1224898313-Apr-17 6:24 
​I am using C# with Winforms. I am trying to print bills on a paper roll. The width of the paper is 3in but the length of the paper is dynamic (its a roll paper). The length depends on how many items are there in the list. E.g. in a purchase if there are 100 items sold then it will be quite long roll while for a single item purchased it would be of small length.

When I print the report, after the end job, printer eject the last page more than I need. It eject paper as long as A4 size. I want to print the required lines, then stop printing. I use a roll of paper, not A4 or A3 and an Epson LQ-300 + II printer.

To be more specific, printing is always done to page-sized units. If I set the page to be 3in x 8in then I always end up with a printout that is a multiple of 8in long. If I have a 9in bill to print, I end up with a 16in printout, wasting 7in of paper. How can I print with the last page being only as long as it needs to be?

GeneralRe: Report printing in roll paper Pin
Maximilien13-Apr-17 6:28
Maximilien13-Apr-17 6:28 
GeneralRe: Report printing in roll paper Pin
OriginalGriff13-Apr-17 6:40
mveOriginalGriff13-Apr-17 6:40 
JokeRe: Report printing in roll paper Pin
Ian Shlasko13-Apr-17 7:31
Ian Shlasko13-Apr-17 7:31 
GeneralRe: Report printing in roll paper Pin
OriginalGriff13-Apr-17 7:54
mveOriginalGriff13-Apr-17 7:54 
GeneralRe: Report printing in roll paper Pin
lopatir13-Apr-17 7:55
lopatir13-Apr-17 7:55 
GeneralRe: Report printing in roll paper Pin
ZurdoDev13-Apr-17 8:37
professionalZurdoDev13-Apr-17 8:37 
QuestionRe: Report printing in roll paper Pin
Eddy Vluggen13-Apr-17 12:44
professionalEddy Vluggen13-Apr-17 12:44 
GeneralRe: Report printing in roll paper Pin
den2k8814-Apr-17 0:53
professionalden2k8814-Apr-17 0:53 
GeneralRe: Report printing in roll paper Pin
Tim Carmichael13-Apr-17 14:00
Tim Carmichael13-Apr-17 14:00 
GeneralRe: Report printing in roll paper Pin
  Forogar  14-Apr-17 4:49
professional  Forogar  14-Apr-17 4:49 
GeneralSound of the Week Pin
Sander Rossel13-Apr-17 5:50
professionalSander Rossel13-Apr-17 5:50 
GeneralRe: Sound of the Week Pin
User 1106097913-Apr-17 6:03
User 1106097913-Apr-17 6:03 
GeneralRe: Sound of the Week Pin
Sander Rossel13-Apr-17 6:07
professionalSander Rossel13-Apr-17 6:07 
GeneralRe: Sound of the Week Pin
lopatir13-Apr-17 8:05
lopatir13-Apr-17 8:05 
GeneralRe: Sound of the Week Pin
Sander Rossel13-Apr-17 8:36
professionalSander Rossel13-Apr-17 8:36 
GeneralRe: Sound of the Week Pin
User 483504713-Apr-17 8:16
User 483504713-Apr-17 8:16 
GeneralRe: Sound of the Week Pin
Sander Rossel13-Apr-17 8:40
professionalSander Rossel13-Apr-17 8:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.