Print Report on half page
hello,
I am using report builder 6i. I want print on half page but the printer LQ-300+ uses full page. i want to print two receipts from one pages.
Thanks
iftikhar
Make sure your frames are set up to handle that kind of printing. Check to make sure that 2 repeating frames will fit into one page. There are properties on the repeating frames and regular frames that can affect this, like "Page Protect", "Page Break Before/After","Maximum Records per Page" or "Space Between Frames" (these are just some). You also might want to check the height and width of you section. You can increase the height until you see 2 show up, that tells you your repeating frame is too big for 2 records for your original height.
Similar Messages
-
How to print report from JSP Page
Hi Everybody,
I am developing a simple project in JSP with MS Access. I hav some tables and reports for them. I hav a JSP page which gets inputs from user and save it in the table. Its working fine. But my problems are,
1) I hav a button called "SAVE & PRINT" in that bottom of the page, if i click that button, the currently entered data has to save in the table and the same data has to print from the MS Access report. I dont know how to print this report from JSP page.
2) Another button called "REPRINT". If i click that button, it has to ask a number to print the report page, that number is nothing but a field in that report.
Could anyone help me to solve this problem.Hi Everybody,
I am developing a simple project in JSP with MS Access. I hav some tables and reports for them. I hav a JSP page which gets inputs from user and save it in the table. Its working fine. But my problems are,
1) I hav a button called "SAVE & PRINT" in that bottom of the page, if i click that button, the currently entered data has to save in the table and the same data has to print from the MS Access report. I dont know how to print this report from JSP page.
2) Another button called "REPRINT". If i click that button, it has to ask a number to print the report page, that number is nothing but a field in that report.
Could anyone help me to solve this problem. -
How to print report in jsp page?
excuse me,i am new to jsp
may i know how to pritn report in jsp page or html?
tqhere is a hacked up example.. i ripped out a lot, so it may not compile, but you get the idea... the full version is really long and not much new info.. just all awt/display stuff...
package rowe;
import javax.swing.*;
import java.util.*;
import java.awt.*;
import java.awt.image.*;
import java.awt.event.*;
import java.sql.*;
import utility.*;
import java.awt.print.*;
public class rowePrint extends JFrame implements ActionListener, Printable{
String printType = "";
static JButton j = new JButton("Print");
FontMetrics fm;
String jID, promotion, product, jComments;
public void getInfo(int jid) {
ResultSet rs;
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection conn = DriverManager.getConnection("jdbc:odbc:rowe");
Statement stmt = conn.createStatement();
rs = stmt.executeQuery("select j.id as jID, j.comments, p.title as pTitle, p.product, p.packagingCartonCost, p.foldingQuarterCostPerM, p.foldingQuarterCostPerM, j.customizationOption as setupFee, p.perMcost, p.qtyCarton, d.name as dName, d.contact as dContact, d.email as dEmail, d.address as dAddress, d.city as dCity, d.state as dState, d.zip as dZip, d.phone as dPhone, d.fax as dFax, r.name as rName, j.totalQty, j.orderIn, j.estFreight, j.miscCost, j.coverSelection, j.imprintSelection from jobs j, promotions p, dealers d, reps r where j.promotion = p.id and j.dealer = d.id and j.rep = r.id and j.id = " + jid);
rs.next();
jID = rs.getString("jID");
jComments = rs.getString("comments");
promotion = rs.getString("pTitle");
product = rs.getString("product");
} catch (Exception e) {
System.out.println("getinfo: " + e);
public void actionPerformed(ActionEvent e) {
if (e.getSource() instanceof JButton) {
wookie();
public void wookie() {
PrinterJob printJob = PrinterJob.getPrinterJob();
Paper paper = new Paper();
PageFormat page = new PageFormat();
paper.setImageableArea(0, 0, 600, 780);
page.setPaper(paper);
printJob.setPrintable(this, page);
try{
//printJob.pageDialog(page);
// if (printJob.printDialog()) {
printJob.print();
} catch (Exception e) {
System.out.println("wookie1" + e);
public static void main(String[] args) {
rowePrint at = new rowePrint("Invoice");
at.getInfo((new Integer(args[0])).intValue());
at.drawShapes();
// at.wookie();
public void drawShapes() {
setBounds(0, 0, 670, 550);
addWindowListener(new WindowAdapter() {public void windowClosing(WindowEvent e) {System.exit(0);}});
j.setBounds(10, 10, 10, 10);
j.addActionListener(this);
getContentPane().setLayout(null);
getContentPane().add(l);
getContentPane().add(j);
show();
public rowePrint(String s){
printType = s;
public void paint(Graphics g) {
g.setFont(new Font("Serif", Font.BOLD, 18));
g.drawString(promotion, 20, 30);
g.setFont(new Font("SansSerif", Font.PLAIN, 4));
g.drawString("" + new java.util.Date(), 20, 37);
g.setFont(new Font("Serif", Font.BOLD, 21));
g.drawString("Rowe Furniture", 440, 35);
g.fillRect(440, 40, 145, 25);
g.setColor(Color.white);
fm = g.getFontMetrics(new Font("Serif", Font.BOLD, 21));
g.drawString(printType, 512 - (fm.stringWidth(printType) / 2), 60);
public int print(Graphics g, PageFormat pf, int pi) throws PrinterException {
if (pi >= 1) {
return Printable.NO_SUCH_PAGE;
paint(g);
return Printable.PAGE_EXISTS;
} -
How i start printing report from 2nd page
When Press on Print button to print report, then it start from 1 page.
Is it possible that report start printing from the 2nd page....
Plz help if possible...
Thanks alot..hi dear,
I think wht u do is place a "Form feed" char on the first line of your report
and make sure it has property "print object on" set to "first page"
so as and when u startyour printing it will make a form feed and your first page will
be printed with nothing and print starts from 2nd page....
Enjoy Oracle... -
FAX Print and receive half page
we are experienced a problem with receiving fax, sometimes we receive half page, the fax call come from PRI to FAX connected to FXS port.
the following if for the incoming Fax calls
voice-port 0/0/0
station-id name FAX-001
station-id number 046993199
caller-id enable
dial-peer voice 2001 pots
destination-pattern 199
fax rate disable
port 0/0/0
Note : The problem was also with ATA 186 , I replaced it with FXS port but still the same.Thanks steven;
I have one gateway only , it is connceted to the PSTN by the E1 controller here is the show controller e1 and the FXS ports connected to the same gateway.
'sh controller e1'
E1 0/3/0 is up.
Applique type is Channelized E1 - balanced
Cablelength is Unknown
No alarms detected.
alarm-trigger is not set
Version info Firmware: 20071011, FPGA: 13, spm_count = 0
Framing is NO-CRC4, Line Code is HDB3, Clock Source is Line.
Data in current interval (271 seconds elapsed):
0 Line Code Violations, 0 Path Code Violations
68 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins
68 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs
Total Data (last 24 hours)
16330 Line Code Violations, 16 Path Code Violations,
20848 Slip Secs, 2 Fr Loss Secs, 2 Line Err Secs, 0 Degraded Mins,
20847 Errored Secs, 0 Bursty Err Secs, 3 Severely Err Secs, 2712 Unavail Secs
sh call history voice br | i lost
IP : rtt:ms pl:/ms lost://
IP 192.168.10.250:0 SRTP: off rtt:0ms pl:171795/0ms lost:0/1/0 delay:60/60/65ms g711ulaw TextRelay: off
IP 0.0.0.0:0 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729r8 pre-ietf TextRelay: off
IP 0.0.0.0:0 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729r8 pre-ietf TextRelay: off
IP 192.168.10.13:31652 SRTP: off rtt:0ms pl:69840/0ms lost:0/0/0 delay:60/60/65ms g711ulaw TextRelay: off
IP 192.168.10.36:26528 SRTP: off rtt:0ms pl:44640/0ms lost:0/1/0 delay:60/60/70ms g711ulaw TextRelay: off
IP 0.0.0.0:0 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729r8 pre-ietf TextRelay: off
IP 0.0.0.0:0 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729r8 pre-ietf TextRelay: off
IP 192.168.10.27:27628 SRTP: off rtt:0ms pl:37940/0ms lost:0/0/0 delay:60/60/65ms g711ulaw TextRelay: off
IP 0.0.0.0:0 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729r8 pre-ietf TextRelay: off
IP 0.0.0.0:0 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729r8 pre-ietf TextRelay: off
IP 192.168.10.30:24908 SRTP: off rtt:0ms pl:52395/0ms lost:0/1/0 delay:60/60/65ms g711ulaw TextRelay: off
sh call active voice br | i lost
IP : rtt:ms pl:/ms lost://
IP 192.168.10.13:28664 SRTP: off rtt:0ms pl:151925/0ms lost:0/1/0 delay:60/60/65ms g711ulaw TextRelay: off
IP 192.168.10.53:17166 SRTP: off rtt:0ms pl:45095/0ms lost:0/2/0 delay:65/60/70ms g711ulaw TextRelay: off
IP 0.0.0.0:0 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729r8 pre-ietf TextRelay: off
I already attached the configuration file.
Thanks a again -
No longer able to print 5x7 on half page..and/ File shrink?
Hi,
I'd like to print a 5x7 sized photo/file on letter-sized (8.5x11) photo paper to use only half of the sheet.
I used to do this all the time in my old PSE2 program (I've only recently updated from 2 to PSE9). From that older print dialog box, in the little preview pane I was able to move the photo up/down/side-to-side (wherever I wished) and in the final print-out it would be prescisely where I placed it , saving space on the paper for a second print. Apparently this is no longer possible in the newer versions...? In PSE9 my print keeps coming out half printed, no matter what I ticked (landscape/port) or how I placed it.
Question: Is this no longer possible to do in the newer versions?
I tried working around this by creating a new file in the PSE9 editor and moving the orig 5x7 file into that one--via select-all>edit>copy and then pasting the 5x7 into the newly created 8.5x11 file...however the 5x7 did not retain its dimensions when placed into the 8.5x11 space. Maybe I could "resize" the layer? (if that possible?)
Question: What is causing the orig 5x7 to shrink to 4x5.6 when copied to the new file?
Thanks much for any enlighting
~Suzanne
HP Pavilion dv7/ Notebook PC/ RAM-6.00 GB/ 174 GB free space
Windows 7/ PSE-9/camera-Sony Cybershot-HX1Click on Extensions, Appearance or Plugins in the left margin of the Add-ons Manager display/tab.
*It is trying to load the "Get Add-ons" information from the web server
*There is possibly a minor glitch in loading the "Get Add-ons" option, but it is so minor that the developers have discussed and decided that no update for that minor item will be done, at this time
*If you want new add-ons, go to the following link and use the search box on the page: https://addons.mozilla.org/en-US/firefox/
'''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.''' -
hi ,
This is continuous printing report.
first two pages are printed exact postion .after third page printed little down .
how to solve this problem .Did you get a resolution to your question? I am experiencing the same problem.
I have created a report that displays multiple fields. Those fields are enclosed in a repeating frame. When the information in the repeating frame can be displayed on one page, there is no problem. But when a record starts on one page and the remaining information continues to the next page, there is a huge gap on top of the page before the information is displayed. How can I get it to move up therefore removing the space?
Any assistance will be greatly appreciated. -
How to print a report in half of the A4 page
Hi,
Please help me, how to print a report in the half page of the A4 size paper.
Thanks,Hi
If you are using the command MEW-PAGE PRINT ON
then we can give this layout options
like
NEW-PAGE PRINT ON
DESTINATION <printer name>
immediately 'X'
KEEP IN SPOOL 'X'
LAYOUT 'X_65_132' (OR X_65_255)
RECEIVER SY-UNAME
NO-DISPLAY.
OTHERWISE WHEN YOU SELECT THE PRINTER
IN THE PRINTER PROPERTIES/SETTINGS BASICS-> PAPER
you will have this facility to select LANGSCAPE/PORTRAIT
use that and print
Reward points for useful Answers
Regards
Anji -
Hello Guru's,
I am in big trouble and I am using Developer reports 6i. I am facing problem in my salary slip report.My client is using epson dot matrix printer.
the scenario is I have a salary slip report (bitmap format) that width and height is 5.5 x 8.5 ( 5.5 height and 8.5 width) but i am printing on 11 x 8.5 page.report is being printed on half page but after completion of report printer scroll the page and move to next page so i need to stop printer page scrolling after the printing because i need to utilize free half page space
Best Regard
snhi ,
u have to create one new form means like in u r report page setup A4 means 11*8.5 ,
so same like that u have create one new form and give the name of " payslip " and set width 5.5 , height 8.5 ,
after that in u r report pagesetup select the paper size is " payslip " and click to apply . -
How can I print half pages to fit in my circa desk calendar
How can I print half pages from iCal to fit in my Circa desk calendar?
That depends on the program, but if it's Preview, go to Page Setup... under the File menu. Select the appropriate paper size there. Then go to File > Print... and do a Preview. If the content does not fit on the page, some printer drivers will have a Scale to Fit setting. If there is none, go back to Page Setup... and manually adjust the Scale until it fits nicely when you do a Preview.
-
I have researched the knowledge base and found:
Printing A Range of Pages or Number of Copies of a Report Using the Report Generation Toolkit in LabVIEW.
This seems to be from a previous version of LV. I am using LV2010. The instructions given do not match up with the current vi. The information did provide a tip and drilling down into the vi I was able to insert the from/to page numbers at the printout invoke method, however this prevents the print function from working in that it can no longer find the default printer.
The error message is:
Error 1015 occurred at NI_ReportGenerationToolkit.lvlib:Word_Print.vi -> NI_Word.lvclassrint Report.vi ->
error 1015 is: Printer is not responding. Check printer configuration.
Any ideas how I can make the modification to print, for example, pages 24 through 29 out of a 32 page word document?
Thanks,
ChrisHello, take a look at this article. Unfortunately the Generate Report Get Data to Modify.vi was remove since RGT 1.1.3 release. That being said, we can try to find a workaround. See "Configuring a Printer Through the Windows Dialog in LabVIEW", open the GetPrinterSettings.vi, at the PrinterSettings property node you can select the from/to page. I hope this helps.
Alejandro | Academic Program Engineer | National Instruments -
6980 wont stop printing report pages
Help-My 6980 Deskjet has recently started printing report pages after every print job. It seems to go into quiet mode on its own, prints the job and then continues to print multiple report pages until I turn it off. Of course I'm out of warranty so no help from support.
Sorry using XP PRo with a wireless connection. No troubles there.
-
Print Multiple copies of report, and resetting Page number for each copy.
Dear frnds!
i am using developer 6i reports i have a problem.
i want to Print Multiple copies of report, and resetting Page number for each copy" that is 4 copies of an invoice is required
1 - for user copy
2- gate copy
3- accounts office
4- office copy
any body please tell me the solution "i am using oracle 9i and developer 6i"
Thanx
IbrarHi,
I was wondering if you were able to get your multiple copies working? Below is what I have so far, just trying to get it to work before changing the actual template.
<?for-each-group@section:R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
<?variable@incontext:G1;R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
<?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,3,1)?>
HEADER
PSN: <?$G1/Pick_Slip_Number_Display_ID54?>
PSN Detail: <?$G1/PickSlipNumber_ID260?>
Page 1 of 3
<?start:body?>
BODY
<?$G1/LineNumber_ID6?>
<?end body?>
FOOTER
<?end for-each?>
<?end for-each-group?>
XML:
<R5542520>
<Pick_Slips_Detail_Lines_S24>
<Header_Custom_Section_S24>
<Pick_Slip_Number_Display_ID54>123456</Pick_Slip_Number_Display_ID54>
<PickSlipNumber_ID260>123456</PickSlipNumber_ID260> -
How to print a report on A3 page instead of A4?
Hi all,
I have an RDF report which is printing on A4 size page, but now I wnat to print same report on A3 size page. My question is. Is it possible to change the paper size from A4 to A3 if yes how can i do that. Please guide me.
Regards,
RoshanYou can change the size of the layout by choosing the desired section (e.g. the "main section") in the object-navigator under the node "Paper Layout" and then change the width and height properties in the property palette to the appropiate values.
-
Printing an extra blank page at last in the report with result!
Dear Team,
I have one report ZFI_KKKKK i.e working fine with the result.
The problem is that this report prints an extra blank page in the end of the report.
It should not print the extra empty page. Itu2019s a bit annoying for some users.
If you execute and print this and you will get a page with results and a blank page with just the title.
Any input from your side to rectify the issue?
Thanks and Regards,
SarkarHi,
change the line size and check.
vijay Gurav
Maybe you are looking for
-
How do I make a purchased ringtone work on my iphone?
I purchased a ringtone this morning on my iPhone and now can't figure out how to actually MAKE it my ringtone~ REALLY? it can NOT be this difficult!
-
An error when testing a web service control that takes a complexType argument
i took some wsdl file and generated a web service control in BEA Workshop 8.1. from the jcx file, i generated the jws test file. now, the webservice takes in a complex argument as an input. as a result, i added specialized code in the jws test file t
-
I also often have to do a forced quit as firefox freezes up. I did not have these problems until I tryed to upgrade to firefox4. for Mac. I tryed re-enstalling 3.5 but ended up with 5 which was worse. It appears that Firefox and Yahoo are no longer c
-
I can't use scrolling in tabs when a PDF tab is open in Firefox 4.
If I have a PDF open in a tab, I can't use my mouse scroll in other tabs until I close the PDF tab. I can scroll fine in the PDF tab. Did not have this problem in Firefox 3.5 (skipped 3.6).
-
How do I stop my mail to stop asking for password?
I have several email accounts setup in my apple mail and frequently the notification voice tells me that my mail needs attention. The password is correct so I select continue and my mail downloads. So, I have two issues... 1 - Why do I keep getting r