printing

Blurry print with legacy borland software

一世执手 提交于 2019-12-25 03:03:17
问题 Here is my problem : I have to port an old sofware made for windows NT 4 (i thought) with an old Borland on Windows 7 or newer. The program is running well ( no problem with dependency walker, App Verifier shows a Bad DEVMODE buffer but this error exists on XP and it works well). The programm have to print a label with some information, this works good on windows XP but on seven numbers are blurry, i don't know why and i don't how to troubleshoot that. My printer works because i can print a

printing out objects within objects stored in different arrays using toString (java)

最后都变了- 提交于 2019-12-25 03:01:55
问题 I'm having the most difficult time trying to output a list of all clubs and have the people who are in that club displayed under it, but it displays all people for each club instead. I know the problem lies within the nested for loop because when it gets to the second for loop, it goes to the personArray with a new index value and prints out all the people. How do I get it so that it prints only the contents of clubArray[0] , then for clubArray[1] it will pick up where it left off in the

printing out objects within objects stored in different arrays using toString (java)

旧城冷巷雨未停 提交于 2019-12-25 03:01:01
问题 I'm having the most difficult time trying to output a list of all clubs and have the people who are in that club displayed under it, but it displays all people for each club instead. I know the problem lies within the nested for loop because when it gets to the second for loop, it goes to the personArray with a new index value and prints out all the people. How do I get it so that it prints only the contents of clubArray[0] , then for clubArray[1] it will pick up where it left off in the

SATO Label Printer - Inconsistency Between Printers

笑着哭i 提交于 2019-12-25 02:18:57
问题 We use SATO CL412e printers to print labels (3x7), with the label coming from a local SSRS report. Until recently, this setup worked without issue. A few months ago we modified the label, and implemented (new implementation) at one site (Site A). Then a few weeks ago, we pushed the change out to another site (Site B) that had previously been using this label (old version). Since we did this, the label at Site B is... weird. The barcode is quite clearly not right, and all the normal characters

set the footer in place

泄露秘密 提交于 2019-12-25 02:14:47
问题 setting the footer.. in the above screen the footer is displayed after new member report and reporting period but i dont want like this I'm working on windows application using C#. I have generated the "Report" using Ms chart control. While printing and exporting into XPS format, Header and Footer are appearing its fine . But i want the Footer will be displayed at the bottom of the report at present it was appearing just after the header, I want to add this Footer at the bottom using C#. So

Check if printer is shutdown or not using PrinterStateReason

丶灬走出姿态 提交于 2019-12-25 02:06:29
问题 How to check printer is shutdown or not using class PrinterStateReason ? I am new in Java, want to check if default printer connected to system is on or off. I gone through Doc, but not getting how I should implement it. Is there any example? 来源: https://stackoverflow.com/questions/16516155/check-if-printer-is-shutdown-or-not-using-printerstatereason

How to print reports in submitted order using .NET

帅比萌擦擦* 提交于 2019-12-25 02:00:34
问题 Our VB WinForms application prints a series reports using the standard PrintDocument object, some with multiple pages. My client has pointed out the the hard copy reports are not printed in the correct order. When I debug the code, I can verify the reports are generated in the correct order, but when I inspect the print queue the reports are not displayed in the order they were submitted. When I sort the queue by Submitted (date-time), the correct order of reports is shown. Is there a way to

NPOI Page Breaks

↘锁芯ラ 提交于 2019-12-25 01:55:58
问题 I am using the NPOI framework to generate a 97/2003 Excel workbook. I need to set a page break every 44 rows and from the example provided in the framework download, the code to do this is: sheet.SetRowBreak(int row) I can verify these are setting a collection of row integers but when opening the document and viewing the Page Break preview, there is but a single page that encompasses the entire worksheet. Sample Code below: for(int rowCount = 0; rowCount < MaxRows; rowCount += 44) { worksheet

print existing pdf file

[亡魂溺海] 提交于 2019-12-25 01:54:01
问题 I have made a Windows Form application and I want to print an existing PDF document with my default printer. I have the file, stored in c:\users\marten\document.pdf. I have searched a long time for some examples, but the only examples I found was printing a text file or printing a string into a document. Can someone give me a good example or tutorial? 回答1: This uses the installed pdf reader to print the file against the default printer on the machine. string path = "" <- your path here. if

How do you print an array of strings in MIPS?

半腔热情 提交于 2019-12-25 01:44:22
问题 I'm having an array of strings and I want to print them out. Here's currently what I have: data: .asciiz "foo", "bar", "hello", "elephant"...(16 of these strings) size: .word 16 move $s0, $zero # i = 0 la $s1, data # load array la $s2, size #load size print_array: bge $s0, $s2, exit # i >= size -> exit la $a0, 0($s1) #load the string into a0 li $v0, 4 #print string syscall addi $s0, $s0, 1 # i++ addi $s1, $s1, 4 j print_array exit: jr $ra I know this won't work because li $v0, 4 is for