export-to-pdf

URL ZOOM PARAMETER for exporting sheet to pdf

假装没事ソ 提交于 2021-02-11 02:46:30
问题 Another question on URL parameters... sorry. Actually, I've been searching a lot about how to solve this, here and pretty much everywhere else, and I found absolutely nothing. Zero! Really appreciate if someone can give me a hand. Here's the thing, I'm exporting a google sheet to pdf with the following URL code. var url = "https://docs.google.com/spreadsheets/d/"+ssID+"/export"+ "?format=pdf&"+ "size=7&"+ "portrait=false&"+ // "zoom_scale=130&"+ "top_margin=0.00&"+ "bottom_margin=0.00&"+

Jasper Reports PDF Export - Displaying SVG image from embedded URL

浪子不回头ぞ 提交于 2021-02-08 08:39:18
问题 Here is the sample report <?xml version="1.0" encoding="UTF-8"?> <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="sample" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="80b32d69-a3a5-4132

Saving Sheet to PDF

假装没事ソ 提交于 2021-01-29 19:08:34
问题 Hi all I'm relatively new to scripting. I have some code to convert a google sheet to pdf and email out as an attachment however I am struggling with setting the PDF output page setup. The margins are to big. /* Email Google Spreadsheet as PDF */ function emailGoogleSpreadsheetAsPDF() { // Send the PDF of the spreadsheet to this email address var email = "dav..........n@.....a.com"; // Get the currently active spreadsheet URL (link) var ss = SpreadsheetApp.getActiveSpreadsheet(); // Subject

How to make Excel VBA Export as PDF on MAC computer

只愿长相守 提交于 2021-01-28 11:09:09
问题 I have a macro code for my Excel document. I want to export the active sheet as a PDF file to the specific folder. Same code working on my Windows PC, but it doesn't work on my MAC pc.When I click the Save button, it's printing the pdf instead save it. I want to save it. If anybody can help me I will be very glad. Sub Save_NEWPORT_ESTIMATE() If Range("G1") = "INVOICE" Then LigneIS = Application.CountA(Sheets("Invoice summary").Range("A:A")) Sheets("Invoice summary").Range("A" & LigneIS + 1) =

How to make Excel VBA Export as PDF on MAC computer

给你一囗甜甜゛ 提交于 2021-01-28 11:08:38
问题 I have a macro code for my Excel document. I want to export the active sheet as a PDF file to the specific folder. Same code working on my Windows PC, but it doesn't work on my MAC pc.When I click the Save button, it's printing the pdf instead save it. I want to save it. If anybody can help me I will be very glad. Sub Save_NEWPORT_ESTIMATE() If Range("G1") = "INVOICE" Then LigneIS = Application.CountA(Sheets("Invoice summary").Range("A:A")) Sheets("Invoice summary").Range("A" & LigneIS + 1) =

Print chartsheet without margin from excel using vba's .ExportAsFixedFormat method?

我与影子孤独终老i 提交于 2021-01-21 09:39:11
问题 I use the following routine to export (save) a chartsheet as pdf. The function gets the names of the user selected chartsheets in a collection. Then it exports one by one as a pdf where the user can select the save folder of the exported pdf. Here my code. Private Function ExportCurvesPDF(Curves As Collection) Dim source As Workbook Dim i As Integer Dim FileName As String Dim ExportPath As String Set source = Thisworkbook ExportPath = "V:\" For i = 1 To Curves.count FileName = Application

doc.fromHTML is not a function with angular 6

南楼画角 提交于 2020-11-29 08:12:15
问题 I wanna export a template html to pdf and I'm trying use jsPDF lib with angular, but o got this error doc.fromHTML is not a function. import { Component, ViewChild, ElementRef } from '@angular/core'; import * as jsPDF from 'jspdf'; // declare var jsPDF: any; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { title = 'exports-pdf'; @ViewChild('exports') exports: ElementRef; public print(): void { const doc =

doc.fromHTML is not a function with angular 6

安稳与你 提交于 2020-11-29 08:11:05
问题 I wanna export a template html to pdf and I'm trying use jsPDF lib with angular, but o got this error doc.fromHTML is not a function. import { Component, ViewChild, ElementRef } from '@angular/core'; import * as jsPDF from 'jspdf'; // declare var jsPDF: any; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { title = 'exports-pdf'; @ViewChild('exports') exports: ElementRef; public print(): void { const doc =