Scribe Scroll and Known Spells?

By RAW, you need to be able to prepare or expend the spell slot, and unlike most other magic items, you cannot ignore the spell prerequisites of spell completion items.

https://aonprd.com/Rules.aspx?Name=Creating%20Scrolls&Category=Magic%20Item%20Creation

The creator must have prepared the spell to be scribed (or must know the spell, in the case of a sorcerer or bard) and must provide any material component or focus the spell requires. A material component is consumed when she begins writing, but a focus is not. (A focus used in scribing a scroll can be reused.) The act of writing triggers the prepared spell, making it unavailable for casting until the character has rested and regained spells. (That is, that spell slot is expended from the caster's currently prepared spells, just as if it had been cast.)

https://aonprd.com/Rules.aspx?Name=Magic%20Item%20Creation&Category=Magic%20Items

Note that all items have prerequisites in their descriptions. These prerequisites must be met for the item to be created. Most of the time, they take the form of spells that must be known by the item’s creator (although access through another magic item or spellcaster is allowed). The DC to create a magic item increases by +5 for each prerequisite the caster does not meet. The only exception to this is the requisite item creation feat, which is mandatory. In addition, you cannot create potions, spell-trigger, or spell-completion magic items without meeting their spell prerequisites.

/r/Pathfinder_RPG Thread