'' Prints only print'' never map directions on PC.
I have both a picture of printer on my bookmark bar. When I want to print the whole page exactly like it is......but the printer only printer the wording not the picture directions. I have printed receipes very good with both pic & directions. I have a Tosiba Chromebook laptop. I have changed all ink so that is not the problem. Also have not figured out how to get the HP appt?? thanks so much for your help.
Hello @mattesmom1,
Welcome to the HP forums.
I understand that you are having problems printing map directions from your Chromebook.
I would like to help.
A lot of map/direction sites are designed differently then a recipe site.
With a recipe, the images are on teh web page.
With the directions/map sites, the image is not static.
That is why often you can zoom in or out on the map.
On the Web page that you are trying to print from, there should be a print option.
This will be separate from the ones you normally use.
This will bring up a printer friendly version of the directions.
This should then print the image along with the written direction.
If I may, what site are you trying to print the map directions from?
Aardvark1
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
Similar Messages
-
Printing PDF report directly to printer, not using orarrp utility
The orarrp utility works only with Windows machines and it
requires installation on both the client machines and servers to
support. We need a more general solution.
Adobe has a java application/applet/javabean (and support
classes) to view PDF, and it is easy to write a java driver
which can be used in place of the orarrp utility. However,
Adobe's Java Viewer is extremely slow, does not produce quality
output, and is explicitly not supported by Adobe.
My question then relates to Reports. When the Report server
returns a PDF in the Previewer, I'm expecting the JINITIATOR,
used by Forms, is also used to support the Report frame and
functionality, including eventual printing. If this is the case,
is there not a set of classes, downloaded with Jinitiator, which
support the fonts, and printing of PDF to locally attached
printers?
And if so, shouldn't we, in Java, be able to make use of these
classes and their APIs to print PDF files directly to locally
attached printers without the need for Previewing first?within a forms trigger:
1. generate the report
2. copy from iAS to local
like: webutil_file_transfer.url_to_client()
3. print.exe /d:printer filename (for windows OS) -
Hi,
Currently, we are using crystal report to all of our reporting applications, but since I/users have encountered some issues about CR's speed to load only a simple report, maybe it is now time for us to adopt a new reporting environment in which I think SSRS
can fill this problem.
To start with, I have here a sample code, that uses the crystal report to print the report directly without previewing:
csCashInvoiceCal csCashCal; --Crystal report name .rpt
dsCsReceipt dsCs; --created dataset
DataTable u;
DataRow s;
private System.Drawing.Printing.PrintDocument printDocument1;
private System.Windows.Forms.PrintDialog printDialog1;
ParameterValues paramValue;
ParameterDiscreteValue discreteValue;
ParameterFieldDefinition fieldDefinition;
private void btnPrint_Click(object sender, EventArgs e)
this.Cursor = Cursors.WaitCursor;
loadReceipt2();
print2();
csCashCal.Close();
this.Cursor = Cursors.Default;
private void loadReceipt2()
dsCs = new dsCsReceipt(); --created dataset
u = dsCs.Tables.Add("DtCsReceipt");
u.Columns.Add("Qty", Type.GetType("System.String"));
u.Columns.Add("UOM", Type.GetType("System.String"));
u.Columns.Add("Description", Type.GetType("System.String"));
u.Columns.Add("UnitPrice", Type.GetType("System.String"));
u.Columns.Add("Discount", Type.GetType("System.String"));
u.Columns.Add("Amount", Type.GetType("System.String"));
try
for (int i = 0; i < dgvDesc.Rows.Count - 1; i++)
s = u.NewRow(); double.TryParse(dgvDesc.Rows[i].Cells[Discount2.Name].Value.ToString(), out discount);
s["Qty"] = double.Parse(dgvDesc.Rows[i].Cells[Qty.Name].Value.ToString());
s["UOM"] = dgvDesc.Rows[i].Cells[Uom2.Name].Value.ToString();
s["Description"] = invcode + dgvDesc.Rows[i].Cells[Description.Name].Value.ToString();
s["UnitPrice"] = dgvDesc.Rows[i].Cells[UnitPrice.Name].Value.ToString();
if (discount != 0)
s["Discount"] = "(" + string.Format("{0:0.##}", discount) + "%)";
else
s["Discount"] = "";
s["Amount"] = dgvDesc.Rows[i].Cells[Amount2.Name].Value.ToString();
u.Rows.Add(s);
catch (Exception) { }
csCashCal = new csCashInvoiceCal();
csCashCal.SetDataSource(dsCs.Tables[1]);
//csCashCal.Refresh();
loadParameter2();
private void loadParameter2()
ParameterFieldDefinitions paramFieldDefinitions;
paramValue = new ParameterValues();
discreteValue = new ParameterDiscreteValue();
paramFieldDefinitions = csCashCal.DataDefinition.ParameterFields;
discreteValue.Value = date;
fieldDefinition = paramFieldDefinitions["Date"];
commonParam();
discreteValue.Value = txtcsno.Text;
fieldDefinition = paramFieldDefinitions["InvoiceNo"];
commonParam();
discreteValue.Value = txtNameTo.Text;
fieldDefinition = paramFieldDefinitions["CustomerName"];
commonParam();
discreteValue.Value = txtAdd.Text;
fieldDefinition = paramFieldDefinitions["CustomerAddress"];
commonParam();
------other parameters----
private void commonParam()
paramValue.Clear();
paramValue.Add(discreteValue);
fieldDefinition.ApplyCurrentValues(paramValue);
private void print2()
using (printDocument1 = new System.Drawing.Printing.PrintDocument())
using (this.printDialog1 = new PrintDialog())
//this.printDialog1.UseEXDialog = true;
this.printDialog1.Document = this.printDocument1;
DialogResult dr = this.printDialog1.ShowDialog();
if (dr == DialogResult.OK)
int nCopy = this.printDocument1.PrinterSettings.Copies;
int sPage = this.printDocument1.PrinterSettings.FromPage;
int ePage = this.printDocument1.PrinterSettings.ToPage;
string PrinterName = this.printDocument1.PrinterSettings.PrinterName;
try
csCashCal.PrintOptions.PrinterName = PrinterName;
csCashCal.PrintToPrinter(nCopy, false, sPage, ePage);
printcount++;
//saveCountPrint();
catch (Exception err)
MessageBox.Show(err.ToString());
This is only a simple sales receipt application that uses dgv and textboxes to push its data to dataset to the crystal report, a simple one but there are instances that it is very slow.
But I'm having trouble implementing this using SSRS, since I'm only new to this one, wherein I created the report using report wizard, with two button options inside the form for print preview or direct print selection. Actually, it is very easy to implement
with print preview because it uses reportviewer. My problem is that how can I print the report directly without using a reportviewer?
So here is my code so far which I don't know what's next:
private void button2_Click(object sender, EventArgs e)
this.Cursor = Cursors.WaitCursor;
loadReceipt3();
//print3();
this.Cursor = Cursors.Default;
ReportParameter[] parameter = new ReportParameter[11];
private void loadParameter3()
parameter[0] = new ReportParameter("InvoiceNo", txtcsno.Text);
parameter[1] = new ReportParameter("Date", date);
parameter[2] = new ReportParameter("CustomerTin", txtTin.Text);
parameter[3] = new ReportParameter("CustomerName", txtNameTo.Text);
parameter[4] = new ReportParameter("CustomerAddress", txtAdd.Text);
parameter[5] = new ReportParameter("Agent", agent);
parameter[6] = new ReportParameter("Discount", "Discount: ");
parameter[7] = new ReportParameter("TotalDiscount", lblDiscount.Text + "%");
parameter[8] = new ReportParameter("TotalSales", rdtotal);
parameter[9] = new ReportParameter("Tax", rdtax);
parameter[10] = new ReportParameter("TotalAmount", rdnet);
private void loadReceipt3()
DataSet dsrs = new DataSet();
DataTable dtrs = new DataTable();
DataRow drs;
dtrs.Columns.Add("Qty", Type.GetType("System.String"));
dtrs.Columns.Add("UOM", Type.GetType("System.String"));
dtrs.Columns.Add("Description", Type.GetType("System.String"));
dtrs.Columns.Add("UnitPrice", Type.GetType("System.String"));
dtrs.Columns.Add("Discount", Type.GetType("System.String"));
dtrs.Columns.Add("Amount", Type.GetType("System.String"));
try
for (int i = 0; i < dgvDesc.Rows.Count - 1; i++)
drs = dtrs.NewRow();
drs["Qty"] = double.Parse(dgvDesc.Rows[i].Cells[Qty.Name].Value.ToString());
drs["UOM"] = dgvDesc.Rows[i].Cells[Uom2.Name].Value.ToString();
drs["Description"] = invcode + dgvDesc.Rows[i].Cells[Description.Name].Value.ToString();
drs["UnitPrice"] = dgvDesc.Rows[i].Cells[UnitPrice.Name].Value.ToString();
if (discount != 0)
drs["Discount"] = "(" + string.Format("{0:0.##}", discount) + "%)";
else
drs["Discount"] = "";
drs["Amount"] = dgvDesc.Rows[i].Cells[Amount2.Name].Value.ToString();
dtrs.Rows.Add(s);
catch (Exception) { }
int addtlRow = 7;
if (addtlRow > (count - 1))
addtlRow = addtlRow - (count - 1);
for (int i = 0; i < addtlRow; i++)
dtrs.Rows.Add();
loadParameter3();
LocalReport localreport = new LocalReport();
localreport.SetParameters(parameter);
localreport.DataSources.Clear();
localreport.DataSources.Add(new ReportDataSource("dsSalesReceiptSsrs", dtrs));
localreport.Refresh();
//what's next....
So what's next after local..refresh()? Actually, I have googled a lot but I didn't found the exact solution that I'm looking for which confuses me a lot.
Anyway I'm using VS 2010 with sql server 2012 express.
You're help will be greatly appreciated.
Thank you,
HardzAfter some further studies with ReportViewer controls and with the use of this tutorial @ : http://msdn.microsoft.com/en-us/library/ms252091.aspx, which helps me a lot on how to print a report without using a report viewer, I found out what is missing
with my code above and helps solve my question.
Here's the continuation of the code above:
private void loadReceipt3()
loadParameter3();
LocalReport localreport = new LocalReport();
localreport.ReportPath = @"..\..\SsrsCashReceipt.rdlc";
localreport.SetParameters(parameter);
localreport.DataSources.Clear();
localreport.DataSources.Add(new ReportDataSource("dsSalesReceiptSsrs", dtrs));
Export(localreport);
print4();
private IList<Stream> m_streams;
private int m_currentPageIndex;
private void Export(LocalReport report)
string deviceInfo =
@"<DeviceInfo>
<OutputFormat>EMF</OutputFormat>
<PageWidth>8.5in</PageWidth>
<PageHeight>11in</PageHeight>
<MarginTop>0.25in</MarginTop>
<MarginLeft>0.25in</MarginLeft>
<MarginRight>0.25in</MarginRight>
<MarginBottom>0.25in</MarginBottom>
</DeviceInfo>";
Warning[] warnings;
m_streams = new List<Stream>();
report.Render("Image", deviceInfo, CreateStream,
out warnings);
foreach (Stream stream in m_streams)
stream.Position = 0;
private void print4()
if (m_streams == null || m_streams.Count == 0)
throw new Exception("Error: no stream to print.");
PrintDocument printDoc = new PrintDocument();
PrintDialog printDlg = new PrintDialog();
printDlg.Document = printDoc;
DialogResult dr = printDlg.ShowDialog();
if (dr == DialogResult.OK)
if (!printDoc.PrinterSettings.IsValid)
throw new Exception("Error: cannot find the default printer.");
else
printDoc.PrintPage += new PrintPageEventHandler(PrintPage);
m_currentPageIndex = 0;
printDoc.Print();
Dispose();
public void Dispose()
if (m_streams != null)
foreach (Stream stream in m_streams)
stream.Close();
m_streams = null;
private Stream CreateStream(string name, string fileNameExtension, Encoding encoding, string mimeType, bool willSeek)
Stream stream = new FileStream(name + "." + fileNameExtension,
FileMode.Create);
m_streams.Add(stream);
return stream;
private void PrintPage(object sender, PrintPageEventArgs ev)
Metafile pageImage = new
Metafile(m_streams[m_currentPageIndex]);
// Adjust rectangular area with printer margins.
Rectangle adjustedRect = new Rectangle(
ev.PageBounds.Left - (int)ev.PageSettings.HardMarginX,
ev.PageBounds.Top - (int)ev.PageSettings.HardMarginY,
ev.PageBounds.Width,
ev.PageBounds.Height);
// Draw a white background for the report
ev.Graphics.FillRectangle(Brushes.White, adjustedRect);
// Draw the report content
ev.Graphics.DrawImage(pageImage, adjustedRect);
// Prepare for the next page. Make sure we haven't hit the end.
m_currentPageIndex++;
ev.HasMorePages = (m_currentPageIndex < m_streams.Count);
Thank you very much for this wonderful tutorial. :) -
Print a pdf directly to a printer to avoid repeated ripping of the same image
Hi,
I have created a 3.000 pages document from inDesign heaving its page the same color image as background and variable data. The document exported as pdf. Because of this method the file has very little size (about 3MB). The acrobat print engine take the image once and the resulted pdf does not using a copy in every page but share it (very cool).
The problem that I have is that when I print this pdf using the windows postscript drivers of my industrial printer (Xerox) then it takes very long time to ripp. I think that even if the pdf has only once the image the windows drivers does not understand this and send the image with every page.
I discussed this with someone and told me to print the pdf directly to the printer without the interference of printer's driver. As an example he mentioned that when we have a postscript file we do the same to print it (otherwise the postscript code will be printed) using a command line like lpr and put as an argument the IP of the printer (or using some tools for this like the free PrintFile but tghis is only for postscript files).
Could someone explain to me what he meant? And how is the syntax of the lpr?
Thanks in advanceDo you mean that the information for the label is huge on a letter or A4 page and you want to shrink it to the size of the label, or do you have a small region that you want to print to the label? Your work flow is not coming through at all and it is hard to help as a result.
If you have a label size print on a large page, then crop the page to the label print. Then go to the print menu, select the label paper, set shrink to fit, and print. At least I think that is what you are looking for. -
How do I convert iris print profile to direct to print rgb file on g5
Good morning, everyone
I am kind of new at this whole color Management business.
>my question is what is the best way to convert
a raw Photoshop PSD file on a MAC G4
which is profiled to print on an IRIS printer
to a direct print RGB file printed from Mac g5 using an Epson 11880.
> Is there a tutorial about printing profile conversions.
Please helpPorefungus,
Your question isn't very clear, which probably has something to do with being new to color management. For color management to work, every file has to be "tagged" with a profile, or if not tagged, one needs to be "assumed". RGB images in Photoshop are usually tagged as sRGB, Adobe RGB, ProPhoto RGB, or some other variant. This "tag" gives precise meaning to each individual color in the file. For example. 225R, 40G, 25B is definitely a red, but what hue, saturation and brightness of red? It will be translated differently depending on which RGB tag is associated with the file.
The same is true of printer profiles. In fact, these profiles (or tags) are like languages. In order to understand what someone is saying, you have to start by knowing, or assuming, what language they are speaking. Sometimes you have someone who speaks only English and someone else who speaks only Chinese. In this case, you need a translator in the middle who is fluent in both. That is color management.
If your original file is edited in Adobe RGB (ie, tagged with that profile) and you are sending that file to be printed on an RGB printer (it uses CMYK and other inks, but the data stream being sent to the printer is RGB), you need to have a "profile" for your printer/paper/ink combination that accurately describes what that ink/paper combo is capable of doing. Then you need a middle man to translate from your source profile (in this case, Adobe RGB) into language that your printer is capable of understanding (ie, printer profile). That middleman is*L*a*b* color space, the universal translator for ICC based color management.
It is way too involved to get into in depth on a forum, but I have some articles on color management on my website. Use the link below and click the links to the left of the page to read them.
http://www.dinagraphics.com/color_management.php
Real World Color Management is a good book on the subject. There are plenty of other good resources in books and on the internet.
Lou -
Hi,
Until a few days ago, I could print out a Google map with the print command in Safari (2.0.4.), move the map to zoom in on a particular intersection and print that page as well. It all worked fine. Computer Is Power Mac G4, HP 4000 laser printer.
Today, I no longer can print a google map using the print command in Safari (2.0.4) or "print" in preview. Text directions print out, but no map is printed just a blank page.
Note: I am able to print a map using the print command on the Google page, but the map consists of 3 small boxes (overview, start, and end). I can't print out a zoomed-in area.
I emptied the cache, cleared history, and I have not reset Safari.
Any suggestions as to why and what to do would be appreciated. Thanks
Richard
Mac OS X (10.4.7) Power Mac G4Google wrote and said they changed their output format for printing. So, not a Safari issue.
-
Ok got a strange one here. We have a SBS 5.1 server with queue based
printing. I recently installed a brand new HP Laserjet 2430dtn and used the
included HP cd for network installation. So the printer does not use the
Netware queue for print jobs but the HP networking utility only for the
people who need access to this printer. Long story as to why I didn't set
this up on the Netware queues but I was having major problems getting that
set up, hence the HP networking wizard. Now, a queue based printer that has
been on our network for years will no longer print, anything sent to that
printer now ends up on the brand new HP 2430dtn even if the user printing
never had the drivers/utilities installed for that new printer. I can't for
the life of me figure out why this is happening. My initial thought was
maybe the IP adress was the same for both printers so I changed the IP
address of the newly installed printer. No luck with that.
Any ideas? Totally confused by this one.
Thanks,
TomStrange, I checked the JetDirect settings via the http interface and there
was no queue or server specified so I just disabled IPX and the print jobs
no longer redirect themselves to the wrong printer. All print jobs go where
they are supposed to.
Thanks,
Tom
"Peter Kuo" <[email protected]> wrote in message
news:[email protected]..
> The only way a JetDirect can grab a job off a queue is that its config
> is set up to ... so, I'd start by looking at the new printer's config
> setup ..
>
> --
>
>
> Peter
> eDirectory Rules! -
Hi Experts,
we want to print a Report directly after clicking on print version. We don't want to first open the pdf file and then click another time on print. Is there any solution?
The best solution would be, that we print automatically the report on our local printer after confirming the filter variables.
Thanks for your help
SebastianThere should be a javascript command, something like window.print, which you could put in the onLoad function of the page.
The problem here is that it doesn't print in the nice PDF version.
Cheers,
Andrew -
Print a report directly to the printer
I need to print a report directly to the printer in Oracle Forms and Report 11g without a preview in the browser
Hello,
<p>You can use this Java Bean</p>
Francois -
Error when printing a PDF direct from SAP archive
Hi together,
I try to print a PDF direct from SAP archive and I got the error ""C:\Program files\Adobe\Acrobat 7.0\reader\AcroRd.exe" /p /h" not found. In the internet I found several topics which describe this way to print a PDF without open the Acrobat Reader.
The customizing for document management (Local application) seems o.k. If I remove in the registry the parameters /h /p for print, Acrobat Reader will open and show the document if I use the print button in SAP.
Have anybody an idea what the reason is?
Thank you.
Regards
ThomasThe rundll32 error seems to have disappeared. Until this morning I had both this error and the rundll32. All other types of docs open fine. This one will open if saved to the desktop first, but not from Outlook.
-
Print ALV report Directly - without the Print Parameter POPUP
Hai All,
I want to print a ALV directly to the printer without the Print Paramter POPUP.
I passed on IS_PRINT parameters in the FM 'REUSE_ALV_LIST_DISPLAY'.
But still i am getting the popup.
How to do this.
It is urgent .
Kindly help me solving this.
Vikki.Hi,
i have passed IS_Print-Print = 'X'.
But even after that i am getting the print parameter popup.
IS there any other way to handle this. TO SUPPRESS THE PRINT PARAMETER POPUP.
Please guide me.
Waiting for ur replies.
Vikki. -
Print RDLC Report Directly to Printer with SubReports!
I am currently printing a report directly to the default printer using the code from this link.
http://msdn.AddHandler
ReportViewer1.LocalReport.SubreportProcessing, AddressOf SubreportProcessingEventHandler
and this code:
Public Sub SubreportProcessingEventHandler(ByVal sender As Object, ByVal e As SubreportProcessingEventArgs)
Dim zrpt = e.ReportPath
Select Case zrpt
Case "WOPartsSubReport"
Dim ds1 As New WOPartsSubReportDataSet
Dim da1 As New WOPartsSubReportDataSetTableAdapters.wopartsTableAdapter
da1.Fill(ds1.woparts)
e.DataSources.Add(New ReportDataSource("DataSet1", ds1.Tables("woparts")))
Case "WOLaborSubReport"
Dim ds2 As New WOLaborSubReportDataSet
Dim da2 As New WOLaborSubReportDataSetTableAdapters.wolaborTableAdapter
da2.Fill(ds2.wolabor)
e.DataSources.Add(New ReportDataSource("DataSet1", ds2.Tables("wolabor")))
Case "WOLockoutSubReport"
Dim ds As New WOLockOutSubReportDataSet
Dim da As New WOLockOutSubReportDataSetTableAdapters.wolockTableAdapter
da.Fill(ds.wolock)
e.DataSources.Add(New ReportDataSource("DataSet1", ds.Tables("wolock")))
End Select
End Sub
But now that I am NOT using a reportviewer how can I still get the subreports to work and still print directly to the printer? Where would I put the code to do that?
Thanks,
StacyHi Stacy,
Sorry for the delay.
It’s Christian that I have involved to help on this issue. Maybe the issue requires a more in-depth level of support. Alternatively, you could contact Microsoft Customer Support Services (CSS) via telephone so that a dedicated Support Professional can assist
you in a more efficient manner. Please understand that contacting phone support will be a charged call, but it will be free if this is a product issue. To obtain the phone numbers for specific technology request please take a look at the web site listed below:
http://support.microsoft.com/default.aspx?scid=fh;EN-US;PHONENUMBERS
Another option would be creating a thread on our Connect site:
http://connect.microsoft.com/sql.
Regards,
Mike Yin
If you have any feedback on our support, please click
here
Mike Yin
TechNet Community Support -
Error - Printing a report directly to printer
Hi,
i'm using oracle forms 9i and i'm trying to print a report directly to printer. I using the code above:
SET_REPORT_OBJECT_PROPERTY(ReportId,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(ReportId,REPORT_SERVER,GetReportTnsName);
IF ReportDesType = 'CACHE' THEN
SET_REPORT_OBJECT_PROPERTY(ReportId,REPORT_DESTYPE,CACHE);
ReportServerJob:=RUN_REPORT_OBJECT(ReportId, PList);
rep_status := report_object_status(ReportServerJob);
IF rep_status=âFINISHEDâ THEN
JobId := substr(ReportServerJob,length(GetReportTnsName)+2,length(ReportServerJob));
WEB.SHOW_DOCUMENT ('/reports/rwservlet/getjobid'||JobId||'?server='||GetReportTnsName,'_blank');
ELSE
message ('Errorâ);
END IF;
-- logic for sending report directly to printer
ELSIF ReportDesType = 'PRINTER' then
SET_REPORT_OBJECT_PROPERTY(ReportId,REPORT_DESTYPE,PRINTER);
SET_REPORT_OBJECT_PROPERTY(ReportId,REPORT_DESNAME,:parameter.p_print);
ReportServerJob:=RUN_REPORT_OBJECT(ReportId, PList);
rep_status := report_object_status(ReportServerJob);
IF rep_status=âFINISHEDâ THEN
message ('Report sent to printer successfully');
ELSE
--handle errors
message ('Errorâ);
END IF;
end if ;
i get this error :
REP-50157: Erro no envio do ficheiro para a impressora lp65. Sair com o código de erro 64
NEED HELP !!
Regards,The printer has to be known on the server where the Reports service runs.
Also, the user who runs the Reports service has to have access to that printer. If you are running on Windows, Reports Service runs as Local system by default. Change that to a real (domain) user, who has access to the printer. -
Orarrp can't print pdf file directly to printer
oracle remote print utility (orarrp) can't print pdf file directly to printer.
we expect orarrp utility can handle ".rrpa" file (i.e. pdf file generated on the application server) by directly print the file to the client's printer, i.e. invoke the acrobat reader on the client side, display the the printer selection dialogue, after confirmation print the pdf file, then the acrobat reader close automatically nicely.
However we are disappointed as the acrobat reader startup and display the pdf file content but does not print and does not close.
After testing the problem several times, there are some findings:-
Finding (A):-
(a) for the success of direct printing of pdf file, a physical path must be provided; we have tried 2 methods:
1) using drag & drop to copy the pdf file directly to the browser
2) open pdf file in the browser directly using browser menu-->File-->Open.
(b) for the failure of direct printing, a virtual path is involved and we have also tried 2 methods:
1) when web.show_document() is used
2) enter the url to the URL bar of the browser,
eg. http://appsvr.com:7777/report/test_printout/APPSVR1094707.rrpa (this is a virtual path/url)
Finding (B):-
(a)when the physical path is used, a temporary pdf file is generated in the same directory where the rrpa file exists in the application server,
e.g. in application server: d:/printout/yyy.pdf is generated for d:/printout/xxx.rrpa when direct print occurs
(b) however when the virtual path is used, there is no such temp "pdf" file generated and direct print failed.
May be when virtual path is used, orarrp utility don't know where to generate the temp "pdf" so direct print doesn't occur.
So, anyone has similar experience or further queries or has solutions, please join.
Thanks for your attention.Hi,
It is really late to give response this post. But still who ever refering to this post for the same issue this solution is useful for achieving same in background:
Even same can be used in smartforms, for getting spool request in PDF format as well which will decrease the size of file when printing in SAP printer.
ct_tline is PDF output:
DATA: lv_pdfsource TYPE xstring.
FIELD-SYMBOLS:<p> TYPE x. " <p> type any.
LOOP AT ct_tline INTO cs_tline.
ASSIGN cs_tline TO <p> CASTING TYPE x.
CONCATENATE lv_pdfsource <p> INTO lv_pdfsource IN BYTE MODE.
ENDLOOP.
* ->Create spool request in PDF format
CALL FUNCTION 'ADS_CREATE_PDF_SPOOLJOB'
EXPORTING
printer = 'LOCL' "Printer name supporting PDF device type
* DEST =
pages = 1
pdf_data = lv_pdfsource "XSTRING internal table
* NAME =
* SUFFIX1 =
* SUFFIX2 =
* COPIES =
* PRIO =
IMMEDIATE_PRINT = 'X'
* AUTO_DELETE =
* TITLELINE =
* RECEIVER =
* DIVISION =
* AUTHORITY =
* LIFETIME = '0'
* IMPORTING
* SPOOLID =
* EXCEPTIONS
* NO_DATA = 1
* NOT_PDF = 2
* WRONG_DEVTYPE = 3
* OPERATION_FAILED = 4
* CANNOT_WRITE_FILE = 5
* DEVICE_MISSING = 6
* NO_SUCH_DEVICE = 7
* OTHERS = 8
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF. -
How to print a report directly on to a printer on the client machine
Hi,
Could anyone let me know how to print a report directly on to the clients default printer in oracle forms 10g with OAS?.
Regards,
Prasad.Hello,
<p>You can use this Java Bean</p>
Francois
Maybe you are looking for
-
Regarding Goods Reversal and Goods Issue process for Production orders
Hi, I have a issue regarding <b>Goods Reversal</b> and <b>Goods Issue</b> process for <b>Production orders</b>. Actually I am having a Z - Function Module in that i am passing <b>production order number other details</b> to make the <b>Goods Reversal
-
Report Builder 3.0 launch issue in SharePoint Integration mode
Hello, I'm facing issue when opening the report builder 3.0 tool. Report server is configured in SharePoint Integration mode. I already have the FQDN configured for report server and in SharePoint (AAM) but still it fails when the end user is trying
-
I just got the 5G Airport Extreme base station. Set-up was a snap! Maybe 10-15 minutes compared to a friend who got another name brand for his pc and took a couple hours, even having to call customer support! Been working great so far, but am concern
-
I want to know that, Nokia C2-00 have bulit in Ins...
I want to know about the Nokia c2 00 built in instant messaging service like Gtalk,OVI..).how to download it
-
How to setup Redundant Interconnects ?
I am planning to install 11.2.0.3 Grid Infrastructure on a Solaris platform , We used to do IPMP before for High availability interconnect. since 11.2.0.2 Oracle seems to address it this by itself but I am having a hard time finding documentation, I